summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 12:42:49 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:20:28 +0200
commit7ff7eb0b5299f90a313986bfc547f48ef9f8dc9c (patch)
tree2986bf153b364187cd11c266711de962e1d15ab1 /source3/winbindd
parent08eff4d311ef3dd4973645e28a7669db4c383cad (diff)
downloadsamba-7ff7eb0b5299f90a313986bfc547f48ef9f8dc9c.tar.gz
samba-7ff7eb0b5299f90a313986bfc547f48ef9f8dc9c.tar.bz2
samba-7ff7eb0b5299f90a313986bfc547f48ef9f8dc9c.zip
s3-build: only include nsswitch header where needed.
Guenther
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_nss.c1
-rw-r--r--source3/winbindd/winbindd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_nss.c b/source3/winbindd/idmap_nss.c
index f50e6172ba..40adef29b8 100644
--- a/source3/winbindd/idmap_nss.c
+++ b/source3/winbindd/idmap_nss.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "winbindd.h"
+#include "nsswitch/winbind_client.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_IDMAP
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 3a9643d729..966ebadaea 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "popt_common.h"
#include "winbindd.h"
+#include "nsswitch/winbind_client.h"
#include "../../nsswitch/libwbclient/wbc_async.h"
#include "librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/srv_lsa.h"