From 4b1e4c22128bdefe549a58b181e9b755854f4c3e Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Tue, 5 Mar 2019 11:50:48 -0700 Subject: [PATCH] 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 --- source3/lib/winbind_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/winbind_util.c b/source3/lib/winbind_util.c index fe35a6f78d1..e3fb594091a 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; -- 2.34.1