summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-01 10:30:34 +0000
committerAndrew Tridgell <tridge@samba.org>2004-11-01 10:30:34 +0000
commitf199c6093976d2dab7bb106469ecd8591fb626b0 (patch)
tree4a8323cf123e240e178d2ba10e3343ebea5fef7e /source/auth
parenta02259e5336038e4d3bbc1c4da7e9e4a65d66640 (diff)
downloadsamba-f199c6093976d2dab7bb106469ecd8591fb626b0.tar.gz
samba-f199c6093976d2dab7bb106469ecd8591fb626b0.tar.xz
samba-f199c6093976d2dab7bb106469ecd8591fb626b0.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.
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_sam.c1
-rw-r--r--source/auth/auth_util.c2
-rw-r--r--source/auth/auth_winbind.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/source/auth/auth_sam.c b/source/auth/auth_sam.c
index bae13bd996b..1530165eb1b 100644
--- a/source/auth/auth_sam.c
+++ b/source/auth/auth_sam.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "librpc/gen_ndr/ndr_samr.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index ef008d62c5f..3565fbd0dc5 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -22,6 +22,8 @@
*/
#include "includes.h"
+#include "librpc/gen_ndr/ndr_samr.h"
+#include "librpc/gen_ndr/ndr_netlogon.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source/auth/auth_winbind.c b/source/auth/auth_winbind.c
index c37f65f4415..2f54adcdfd9 100644
--- a/source/auth/auth_winbind.c
+++ b/source/auth/auth_winbind.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "librpc/gen_ndr/ndr_netlogon.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH