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/smbd/reply.c | 1 + source3/smbd/server_reload.c | 1 + 2 files changed, 2 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 2b7852ecf0..ba4c90d552 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 e958d284f8..a4646462b0 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 -- cgit