From c6ebab846d25563d051b1a1248ea288ba7eb0bcb Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 5 May 2010 01:39:16 +0200 Subject: s3: only include gen_ndr headers where needed. This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther --- source3/include/includes.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 6b54001bb3..5b682bb4e3 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -648,7 +648,6 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx); #include "privileges.h" #include "rpc_misc.h" #include "rpc_dce.h" -#include "../librpc/gen_ndr/schannel.h" #include "mapping.h" #include "passdb.h" #include "rpc_secdes.h" @@ -666,10 +665,6 @@ struct ntlmssp_state; #include "ntdomain.h" #include "reg_objects.h" #include "reg_db.h" -#include "librpc/gen_ndr/perfcount.h" -#include "librpc/gen_ndr/notify.h" -#include "librpc/gen_ndr/xattr.h" -#include "librpc/gen_ndr/messaging.h" #include "librpc/gen_ndr/ndr_nbt.h" #include "librpc/rpc/dcerpc.h" #include "nt_printing.h" -- cgit