From 813fbbd68c50811ad3776140e409d31b60dba76f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= 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/libads/ldap_printer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/libads/ldap_printer.c') diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c index 0aa21badf4e..c997218a480 100644 --- a/source3/libads/ldap_printer.c +++ b/source3/libads/ldap_printer.c @@ -22,6 +22,7 @@ #include "rpc_client/cli_spoolss.h" #include "registry.h" #include "registry/reg_objects.h" +#include "nt_printing.h" #ifdef HAVE_ADS @@ -396,7 +397,7 @@ WERROR get_remote_printer_publishing_data(struct rpc_pipe_client *cli, return result; } -bool get_local_printer_publishing_data(TALLOC_CTX *mem_ctx, +static bool get_local_printer_publishing_data(TALLOC_CTX *mem_ctx, ADS_MODLIST *mods, NT_PRINTER_DATA *data) { -- cgit v1.2.1