diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-01 10:30:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:09 -0500 |
commit | 90067934cd3195df80f8b1e614629d51fffcb38b (patch) | |
tree | 8229732147ad755c5015c9bc2c5a270d47f6c75e /source4/librpc/rpc | |
parent | 668ecaa325e827f2875295b121bbfc083702b77e (diff) | |
download | samba-90067934cd3195df80f8b1e614629d51fffcb38b.tar.gz samba-90067934cd3195df80f8b1e614629d51fffcb38b.tar.bz2 samba-90067934cd3195df80f8b1e614629d51fffcb38b.zip |
r3428: switched to using minimal includes for the auto-generated RPC code.
The thing that finally convinced me that minimal includes was worth
pursuing for rpc was a compiler (tcc) that failed to build Samba due
to reaching internal limits of the size of include files. Also the
fact that includes.h.gch was 16MB, which really seems excessive. This
patch brings it back to 12M, which is still too large, but
better. Note that this patch speeds up compile times for both the pch
and non-pch case.
This change also includes the addition iof a "depends()" option in our
IDL files, allowing you to specify that one IDL file depends on
another. This capability was needed for the auto-includes generation.
(This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 1 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc_schannel.c | 1 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc_sock.c | 1 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 2 |
4 files changed, 4 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 0375382ea6..2ba7c4fff3 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "librpc/gen_ndr/ndr_epmapper.h" /* initialise a dcerpc pipe. */ struct dcerpc_pipe *dcerpc_pipe_init(void) diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c index b7eac60dbc..d6fc7ad511 100644 --- a/source4/librpc/rpc/dcerpc_schannel.c +++ b/source4/librpc/rpc/dcerpc_schannel.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "librpc/gen_ndr/ndr_schannel.h" enum schannel_position { DCERPC_SCHANNEL_STATE_START = 0, diff --git a/source4/librpc/rpc/dcerpc_sock.c b/source4/librpc/rpc/dcerpc_sock.c index e1dca6a6d9..11d016d881 100644 --- a/source4/librpc/rpc/dcerpc_sock.c +++ b/source4/librpc/rpc/dcerpc_sock.c @@ -22,6 +22,7 @@ */ #include "includes.h" +#include "librpc/gen_ndr/ndr_epmapper.h" #define MIN_HDR_SIZE 16 diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 4126dd9aa6..c484a2618c 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -22,7 +22,7 @@ */ #include "includes.h" - +#include "librpc/gen_ndr/ndr_epmapper.h" /* find the pipe name for a local IDL interface |