summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-05 15:14:04 +0200
committerGünther Deschner <gd@samba.org>2010-08-06 15:46:16 +0200
commit0f8e032628865861b356755b4fbafb6fbfeddbeb (patch)
treee808554c71c650f65d846372150b884a0c64b560 /source3/printing
parentccd4af271f73e88abd6899a347f9ce5af69c1f1c (diff)
downloadsamba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.gz
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.bz2
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.zip
s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c1
-rw-r--r--source3/printing/printing.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 9ead42df5b..ae44d5760f 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -31,6 +31,7 @@
#include "rpc_server/srv_spoolss_util.h"
#include "nt_printing.h"
#include "secrets.h"
+#include "../librpc/gen_ndr/netlogon.h"
/* Map generic permissions to printer object specific permissions */
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index a2737105c4..0412d755a9 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -24,6 +24,7 @@
#include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/ndr_spoolss.h"
#include "nt_printing.h"
+#include "../librpc/gen_ndr/netlogon.h"
extern struct current_user current_user;
extern userdom_struct current_user_info;