summaryrefslogtreecommitdiffstats
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-31 00:47:20 +0200
committerGünther Deschner <gd@samba.org>2010-07-31 00:50:31 +0200
commit813fbbd68c50811ad3776140e409d31b60dba76f (patch)
tree3101a4fa7300ade4dc14d4ac0c32a8d81e4bb3a7 /source3/smbd
parent28c74564c5bd3c972745deaa904ec8695f21ea1f (diff)
downloadsamba-813fbbd68c50811ad3776140e409d31b60dba76f.tar.gz
samba-813fbbd68c50811ad3776140e409d31b60dba76f.tar.xz
samba-813fbbd68c50811ad3776140e409d31b60dba76f.zip
s3-build: avoid to globally include printing and spoolss headers.
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c1
-rw-r--r--source3/smbd/server_reload.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 2b7852ecf00..ba4c90d5529 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -29,6 +29,7 @@
#include "smbd/globals.h"
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h"
+#include "rpc_client/init_spoolss.h"
/****************************************************************************
Ensure we check the path in *exactly* the same way as W2K for a findfirst/findnext
diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c
index e958d284f81..a4646462b01 100644
--- a/source3/smbd/server_reload.c
+++ b/source3/smbd/server_reload.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "librpc/gen_ndr/messaging.h"
+#include "nt_printing.h"
/****************************************************************************
Reload printers