s3-nss_info: only include nss_info.h where needed.
authorGünther Deschner <gd@samba.org>
Wed, 30 Jun 2010 22:44:15 +0000 (00:44 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 1 Jul 2010 21:20:40 +0000 (23:20 +0200)
Guenther

source3/include/includes.h
source3/winbindd/idmap_ad.c
source3/winbindd/idmap_adex/idmap_adex.c
source3/winbindd/idmap_hash/idmap_hash.c
source3/winbindd/winbindd_cache.c

index 0e2110dab703c44f1c6990bc6b31b1ef19036bb8..7ffb630ff423a7ebc1181e2b201f66df95256ac9 100644 (file)
@@ -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"
 
index 6f46f70436302efeadc8e8650a14c7f42e099f48..7aaaa9d272c807661697e56b9b36a34036b928f9 100644 (file)
@@ -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
index e5ddfad94633f5b919716f6bc4592fc53218a76b..aabc4da4007ce6745fd24b6b6ca2199292a42ea3 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "includes.h"
 #include "idmap_adex.h"
+#include "nss_info.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_IDMAP
index 844950e737b37eae9aaa6d7212b28f15d55eb325..de4652d68488216527112bcbf599e57768cc0be7 100644 (file)
@@ -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
index b92ef2fabb43858966ec79ba535385cae92c5f9d..1bfbdb6699cb9101c90116b24fae733255e82c81 100644 (file)
@@ -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