diff options
author | Günther Deschner <gd@samba.org> | 2010-07-31 00:47:20 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-31 00:50:31 +0200 |
commit | 813fbbd68c50811ad3776140e409d31b60dba76f (patch) | |
tree | 3101a4fa7300ade4dc14d4ac0c32a8d81e4bb3a7 /source3/rpcclient | |
parent | 28c74564c5bd3c972745deaa904ec8695f21ea1f (diff) | |
download | samba-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/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 1 | ||||
-rw-r--r-- | source3/rpcclient/cmd_test.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 0341b93c42..0cfceec9e7 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -29,6 +29,7 @@ #include "rpc_client/init_spoolss.h" #include "registry.h" #include "registry/reg_objects.h" +#include "nt_printing.h" #define RPCCLIENT_PRINTERNAME(_printername, _cli, _arg) \ { \ diff --git a/source3/rpcclient/cmd_test.c b/source3/rpcclient/cmd_test.c index e854df9a78..3b91d877dc 100644 --- a/source3/rpcclient/cmd_test.c +++ b/source3/rpcclient/cmd_test.c @@ -23,6 +23,7 @@ #include "../librpc/gen_ndr/cli_lsa.h" #include "rpc_client/cli_lsarpc.h" #include "../librpc/gen_ndr/ndr_samr.h" +#include "../librpc/gen_ndr/winreg.h" static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, int argc, const char **argv) |