summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-24 15:31:06 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commitb2af281e508194d9548ea1119c19ee96a0dd1f0a (patch)
treeaa029804955ef6aa2f516bae5b5a640096c3b27a /source3/printing
parent4bd5f51c43147b74203711764390727bdda17a77 (diff)
downloadsamba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.gz
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.bz2
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.zip
s3-messages: only include messages.h where needed.
Guenther
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/notify.c1
-rw-r--r--source3/printing/nt_printing.c1
-rw-r--r--source3/printing/printing.c1
-rw-r--r--source3/printing/spoolssd.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index f1a7e4f928..db727e0b4f 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -25,6 +25,7 @@
#include "../librpc/gen_ndr/spoolss.h"
#include "nt_printing.h"
#include "printing/notify.h"
+#include "messages.h"
static TALLOC_CTX *send_ctx;
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index f82256d794..df1120121d 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -36,6 +36,7 @@
#include "passdb/machine_sid.h"
#include "smbd/smbd.h"
#include "auth.h"
+#include "messages.h"
/* Map generic permissions to printer object specific permissions */
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 1dd053f69e..8aa2ac87b6 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -32,6 +32,7 @@
#include "serverid.h"
#include "smbd/smbd.h"
#include "auth.h"
+#include "messages.h"
extern struct current_user current_user;
extern userdom_struct current_user_info;
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index e6991c6f0f..00ca080109 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -22,6 +22,7 @@
#include "locking/proto.h"
#include "librpc/gen_ndr/messaging.h"
+#include "messages.h"
#include "include/printing.h"
#include "printing/nt_printing_migrate.h"
#include "librpc/gen_ndr/srv_winreg.h"