summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-05 01:39:16 +0200
committerGünther Deschner <gd@samba.org>2010-05-06 00:22:59 +0200
commitc6ebab846d25563d051b1a1248ea288ba7eb0bcb (patch)
treebe093beb5dec7460403520dac6cef6205cfc1bb9 /source3/printing
parentd6a6362752b7a46178e80d36e4c3d69658d4f273 (diff)
downloadsamba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.tar.gz
samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.tar.bz2
samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.zip
s3: only include gen_ndr headers where needed.
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s 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
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index 8d6bdc0b3e..33807f72ef 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "printing.h"
+#include "librpc/gen_ndr/messaging.h"
static TALLOC_CTX *send_ctx;
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index da08130447..d59e3c5ffd 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
static TDB_CONTEXT *tdb_forms; /* used for forms files */
static TDB_CONTEXT *tdb_drivers; /* used for driver files */
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index e67c5d41a3..b0f22c9b6f 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "printing.h"
+#include "librpc/gen_ndr/messaging.h"
extern struct current_user current_user;
extern userdom_struct current_user_info;