From 8528016978b084213ef53d66e1b6e831b1a01acc Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 16 Mar 2006 00:23:11 +0000 Subject: r14464: Don't include ndr_BASENAME.h files unless strictly required, instead try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd) --- source4/rpc_server/common/share_info.c | 2 +- source4/rpc_server/lsa/dcesrv_lsa.c | 1 + source4/rpc_server/samr/dcesrv_samr.c | 1 + source4/rpc_server/samr/samr_password.c | 1 + source4/rpc_server/winreg/rpc_winreg.c | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/rpc_server') diff --git a/source4/rpc_server/common/share_info.c b/source4/rpc_server/common/share_info.c index c98fe98059..cf6d2f2270 100644 --- a/source4/rpc_server/common/share_info.c +++ b/source4/rpc_server/common/share_info.c @@ -21,7 +21,7 @@ */ #include "includes.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" +#include "librpc/gen_ndr/srvsvc.h" #include "rpc_server/dcerpc_server.h" /* diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 3772b62b30..a22356af15 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -29,6 +29,7 @@ #include "libcli/ldap/ldap.h" #include "libcli/security/proto.h" #include "libcli/auth/libcli_auth.h" +#include "librpc/gen_ndr/ndr_security.h" #include "smb.h" #include "smb_server/smb_server.h" #include "ntvfs/ntvfs.h" diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index fde691bea0..580cf842f9 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -27,6 +27,7 @@ #include "rpc_server/dcerpc_server.h" #include "rpc_server/common/common.h" #include "rpc_server/samr/dcesrv_samr.h" +#include "librpc/gen_ndr/ndr_security.h" #include "system/time.h" #include "lib/ldb/include/ldb.h" #include "ads.h" diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index 6341dda681..07a2d678fe 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -25,6 +25,7 @@ #include "rpc_server/dcerpc_server.h" #include "rpc_server/common/common.h" #include "rpc_server/samr/dcesrv_samr.h" +#include "librpc/gen_ndr/ndr_security.h" #include "system/time.h" #include "lib/crypto/crypto.h" #include "ads.h" diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c index 7576dc0ec0..1c60adb901 100644 --- a/source4/rpc_server/winreg/rpc_winreg.c +++ b/source4/rpc_server/winreg/rpc_winreg.c @@ -25,6 +25,7 @@ #include "lib/registry/registry.h" #include "librpc/gen_ndr/ndr_winreg.h" #include "rpc_server/common/common.h" +#include "librpc/gen_ndr/ndr_security.h" enum handle_types { HTYPE_REGVAL, HTYPE_REGKEY }; -- cgit