summaryrefslogtreecommitdiff
path: root/source3/torture
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/torture
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/torture')
-rw-r--r--source3/torture/nsstest.c1
-rw-r--r--source3/torture/torture.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/torture/nsstest.c b/source3/torture/nsstest.c
index 8bb577e505..dcdfd1cb74 100644
--- a/source3/torture/nsstest.c
+++ b/source3/torture/nsstest.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "nsswitch/winbind_client.h"
#ifdef malloc
#undef malloc
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 2e35a1ff5d..fdff8a7d05 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -26,6 +26,7 @@
#include "tldap_util.h"
#include "../librpc/gen_ndr/svcctl.h"
#include "memcache.h"
+#include "nsswitch/winbind_client.h"
extern char *optarg;
extern int optind;