From: Christof Schmitt Date: Tue, 5 Mar 2019 18:50:48 +0000 (-0700) Subject: lib/winbind_util: Move include out of ifdef X-Git-Tag: samba-4.8.10~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d723896da46e5e799f2cb6ee6a25711a40e450;p=thirdparty%2Fsamba.git lib/winbind_util: Move include out of ifdef This fixes compile errors about missing prototypes with --picky-developer and --without-winbind Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison (cherry picked from commit 4b1e4c22128bdefe549a58b181e9b755854f4c3e) --- diff --git a/source3/lib/winbind_util.c b/source3/lib/winbind_util.c index 5f10cb68725..c6fcb34957b 100644 --- a/source3/lib/winbind_util.c +++ b/source3/lib/winbind_util.c @@ -23,10 +23,10 @@ #include "../lib/util/util_pw.h" #include "nsswitch/libwbclient/wbclient.h" -#if defined(WITH_WINBIND) - #include "lib/winbind_util.h" +#if defined(WITH_WINBIND) + struct passwd * winbind_getpwnam(const char * name) { wbcErr result;