From 813fbbd68c50811ad3776140e409d31b60dba76f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 31 Jul 2010 00:47:20 +0200 Subject: s3-build: avoid to globally include printing and spoolss headers. This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther --- source3/rpcclient/cmd_spoolss.c | 1 + source3/rpcclient/cmd_test.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source3/rpcclient') 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) -- cgit