diff options
author | Günther Deschner <gd@samba.org> | 2010-05-05 01:39:16 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-06 00:22:59 +0200 |
commit | c6ebab846d25563d051b1a1248ea288ba7eb0bcb (patch) | |
tree | be093beb5dec7460403520dac6cef6205cfc1bb9 /source3/libnet | |
parent | d6a6362752b7a46178e80d36e4c3d69658d4f273 (diff) | |
download | samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.tar.gz samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.tar.xz samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.zip |
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
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_dssync.h | 3 | ||||
-rw-r--r-- | source3/libnet/libnet_join.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/libnet/libnet_dssync.h b/source3/libnet/libnet_dssync.h index a5a00742c58..e05aaa374b9 100644 --- a/source3/libnet/libnet_dssync.h +++ b/source3/libnet/libnet_dssync.h @@ -18,6 +18,9 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "../librpc/gen_ndr/drsuapi.h" +#include "../librpc/gen_ndr/drsblobs.h" + struct dssync_context; struct dssync_ops { diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 736a9191900..5271c910dda 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -23,6 +23,7 @@ #include "libcli/auth/libcli_auth.h" #include "../librpc/gen_ndr/cli_samr.h" #include "../librpc/gen_ndr/cli_lsa.h" +#include "../librpc/gen_ndr/cli_netlogon.h" /**************************************************************** ****************************************************************/ |