summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-22 23:49:17 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:08 +0200
commit84815d38d204f3b6d0bbd2f419a20915078be70a (patch)
tree86c91f528e4c8883e406bad430a1659be29a07ab
parent34a335a87db7d707c34a069f29b7cb97c8f36be9 (diff)
downloadsamba-84815d38d204f3b6d0bbd2f419a20915078be70a.tar.gz
samba-84815d38d204f3b6d0bbd2f419a20915078be70a.tar.bz2
samba-84815d38d204f3b6d0bbd2f419a20915078be70a.zip
s3: printing needs parts of smbd.
Guenther
-rw-r--r--source3/printing/nt_printing.c1
-rw-r--r--source3/printing/printing.c1
-rw-r--r--source3/printing/spoolssd.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 5147dcef57..af790203d2 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -34,6 +34,7 @@
#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/security.h"
#include "passdb/machine_sid.h"
+#include "smbd/smbd.h"
/* Map generic permissions to printer object specific permissions */
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 1ebf41b7ba..a32c20281b 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -30,6 +30,7 @@
#include "printing/notify.h"
#include "printing/pcap.h"
#include "serverid.h"
+#include "smbd/smbd.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 94694fc284..67e83f3110 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
#include "serverid.h"
+#include "smbd/smbd.h"
#include "librpc/gen_ndr/messaging.h"
#include "include/printing.h"