summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing')
-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"