From a730dff78318a0bfe8c6b2b8a2cefed63cc586e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 30 Mar 2011 23:47:34 +0200 Subject: [PATCH] s3-libndr: add ../librpc/ndr/libndr.h include in some places. Guenther --- libgpo/gpo_sec.c | 1 + source3/lib/tldap_util.c | 1 + source3/libads/disp_sec.c | 1 + source3/libads/dns.c | 1 + source3/librpc/ndr/util.c | 1 + source3/passdb/machine_account_secrets.c | 1 + source3/passdb/pdb_ipa.c | 1 + 7 files changed, 7 insertions(+) diff --git a/libgpo/gpo_sec.c b/libgpo/gpo_sec.c index 4e1612d21c6..05b011b81d3 100644 --- a/libgpo/gpo_sec.c +++ b/libgpo/gpo_sec.c @@ -21,6 +21,7 @@ #include "libcli/security/security.h" #include "../libgpo/gpo.h" #include "auth.h" +#include "../librpc/ndr/libndr.h" #if _SAMBA_BUILD_ == 4 #include "libgpo/ads_convenience.h" #include "librpc/gen_ndr/security.h" diff --git a/source3/lib/tldap_util.c b/source3/lib/tldap_util.c index ae3dab38abd..a908301adfe 100644 --- a/source3/lib/tldap_util.c +++ b/source3/lib/tldap_util.c @@ -22,6 +22,7 @@ #include "tldap_util.h" #include "../libcli/security/security.h" #include "../lib/util/asn1.h" +#include "../librpc/ndr/libndr.h" bool tldap_entry_values(struct tldap_message *msg, const char *attribute, DATA_BLOB **values, int *num_values) diff --git a/source3/libads/disp_sec.c b/source3/libads/disp_sec.c index b06276e12e9..7dcdc95901e 100644 --- a/source3/libads/disp_sec.c +++ b/source3/libads/disp_sec.c @@ -21,6 +21,7 @@ #include "ads.h" #include "libads/ldap_schema.h" #include "../libcli/security/secace.h" +#include "../librpc/ndr/libndr.h" /* for ADS */ #define SEC_RIGHTS_FULL_CTRL 0xf01ff diff --git a/source3/libads/dns.c b/source3/libads/dns.c index e7d8a40236b..113e63710bd 100644 --- a/source3/libads/dns.c +++ b/source3/libads/dns.c @@ -20,6 +20,7 @@ #include "includes.h" #include "libads/dns.h" +#include "../librpc/ndr/libndr.h" /* AIX resolv.h uses 'class' in struct ns_rr */ diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c index a026ecc9edc..6bbe0549590 100644 --- a/source3/librpc/ndr/util.c +++ b/source3/librpc/ndr/util.c @@ -20,6 +20,7 @@ */ #include "includes.h" +#include "../librpc/ndr/libndr.h" #include "librpc/ndr/util.h" _PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss) diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c index dcf37d1b2b4..a51a99c9a2f 100644 --- a/source3/passdb/machine_account_secrets.c +++ b/source3/passdb/machine_account_secrets.c @@ -27,6 +27,7 @@ #include "../libcli/auth/libcli_auth.h" #include "secrets.h" #include "dbwrap.h" +#include "../librpc/ndr/libndr.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/pdb_ipa.c b/source3/passdb/pdb_ipa.c index 3fffbe0657b..d19deeffc56 100644 --- a/source3/passdb/pdb_ipa.c +++ b/source3/passdb/pdb_ipa.c @@ -21,6 +21,7 @@ #include "includes.h" #include "passdb.h" #include "libcli/security/dom_sid.h" +#include "../librpc/ndr/libndr.h" #include "smbldap.h"