nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 29 May 2010 20:54:07 +0000 (22:54 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 30 May 2010 09:12:24 +0000 (11:12 +0200)
This should fix bug #7319 and #7320.

lib/nss_wrapper/testsuite.c

index da1a2675a2726c930804327fbf46bf0bf9a64e31..9f0b1caa09db010d54606b846cb39bf045ee61e4 100644 (file)
 */
 
 #include "includes.h"
+
+#ifndef NSS_WRAPPER
+#define NSS_WRAPPER
+#endif
+
 #include "torture/torture.h"
 #include "lib/replace/system/passwd.h"
-#include "lib/nss_wrapper/nss_wrapper.h"
 
 static bool copy_passwd(struct torture_context *tctx,
                        const struct passwd *pwd,