summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
parent28c74564c5bd3c972745deaa904ec8695f21ea1f (diff)
downloadsamba-813fbbd68c50811ad3776140e409d31b60dba76f.tar.gz
samba-813fbbd68c50811ad3776140e409d31b60dba76f.tar.bz2
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/utils')
-rw-r--r--source3/utils/net_rpc_printer.c1
-rw-r--r--source3/utils/smbcontrol.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index c398253616..589a569879 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -21,6 +21,7 @@
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h"
#include "rpc_client/init_spoolss.h"
+#include "nt_printing.h"
#include "registry.h"
#include "registry/reg_objects.h"
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 9ddabc8757..ee96a02a6f 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -25,6 +25,8 @@
#include "includes.h"
#include "librpc/gen_ndr/messaging.h"
+#include "librpc/gen_ndr/spoolss.h"
+#include "nt_printing.h"
#if HAVE_LIBUNWIND_H
#include <libunwind.h>