From: Günther Deschner Date: Wed, 30 Mar 2011 12:03:13 +0000 (+0200) Subject: s3-winbind: try to fix the build on hosts w/o winbind support. X-Git-Tag: ldb-1.1.0~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6206156465b32aa565a1f7fbabfc62d668985d68;p=thirdparty%2Fsamba.git s3-winbind: try to fix the build on hosts w/o winbind support. Guenther --- diff --git a/source3/lib/winbind_util.c b/source3/lib/winbind_util.c index 390d2db5e23..f30bcfc6126 100644 --- a/source3/lib/winbind_util.c +++ b/source3/lib/winbind_util.c @@ -21,10 +21,10 @@ #include "includes.h" #include "../libcli/security/security.h" #include "../lib/util/util_pw.h" +#include "nsswitch/libwbclient/wbclient.h" #if defined(WITH_WINBIND) -#include "nsswitch/libwbclient/wbclient.h" #include "lib/winbind_util.h" struct passwd * winbind_getpwnam(const char * name)