summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-07-01 00:44:15 +0200
committerGünther Deschner <gd@samba.org>2010-07-01 23:20:40 +0200
commitd1538add736ae3ac7ca3c728e2bd1696d588b374 (patch)
tree7f27a85bf4a2b795089f970581e09045953fa816 /source3
parent04641abb33a06486327088105b578865ed727a23 (diff)
downloadsamba-d1538add736ae3ac7ca3c728e2bd1696d588b374.tar.gz
samba-d1538add736ae3ac7ca3c728e2bd1696d588b374.tar.bz2
samba-d1538add736ae3ac7ca3c728e2bd1696d588b374.zip
s3-nss_info: only include nss_info.h where needed.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/winbindd/idmap_ad.c1
-rw-r--r--source3/winbindd/idmap_adex/idmap_adex.c1
-rw-r--r--source3/winbindd/idmap_hash/idmap_hash.c1
-rw-r--r--source3/winbindd/winbindd_cache.c1
5 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 0e2110dab7..7ffb630ff4 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -705,7 +705,6 @@ enum flush_reason_enum {
/* NUM_FLUSH_REASONS must remain the last value in the enumeration. */
NUM_FLUSH_REASONS};
-#include "nss_info.h"
#include "modules/nfs4_acls.h"
#include "nsswitch/libwbclient/wbclient.h"
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 6f46f70436..7aaaa9d272 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -29,6 +29,7 @@
#include "winbindd.h"
#include "../libds/common/flags.h"
#include "libads/ldap_schema.h"
+#include "nss_info.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP
diff --git a/source3/winbindd/idmap_adex/idmap_adex.c b/source3/winbindd/idmap_adex/idmap_adex.c
index e5ddfad946..aabc4da400 100644
--- a/source3/winbindd/idmap_adex/idmap_adex.c
+++ b/source3/winbindd/idmap_adex/idmap_adex.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "idmap_adex.h"
+#include "nss_info.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP
diff --git a/source3/winbindd/idmap_hash/idmap_hash.c b/source3/winbindd/idmap_hash/idmap_hash.c
index 844950e737..de4652d684 100644
--- a/source3/winbindd/idmap_hash/idmap_hash.c
+++ b/source3/winbindd/idmap_hash/idmap_hash.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "winbindd/winbindd.h"
#include "idmap_hash.h"
+#include "nss_info.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index b92ef2fabb..1bfbdb6699 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -28,6 +28,7 @@
#include "tdb_validate.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_wbint.h"
+#include "nss_info.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND