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/utils/net_lookup.c | |
parent | d6a6362752b7a46178e80d36e4c3d69658d4f273 (diff) | |
download | samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.tar.gz |
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/utils/net_lookup.c')
-rw-r--r-- | source3/utils/net_lookup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c index 102f1b263f..25c781f2c4 100644 --- a/source3/utils/net_lookup.c +++ b/source3/utils/net_lookup.c @@ -19,6 +19,7 @@ #include "includes.h" #include "utils/net.h" #include "libads/sitename_cache.h" +#include "../librpc/gen_ndr/ndr_netlogon.h" int net_lookup_usage(struct net_context *c, int argc, const char **argv) { |