lib/winbind_util: Move include out of ifdef
authorChristof Schmitt <cs@samba.org>
Tue, 5 Mar 2019 18:50:48 +0000 (11:50 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Mar 2019 08:34:15 +0000 (08:34 +0000)
This fixes compile errors about missing prototypes with
--picky-developer and --without-winbind

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 4b1e4c22128bdefe549a58b181e9b755854f4c3e)

source3/lib/winbind_util.c

index 46c95ca3a28cdc86fc08bb17b95147cde8754797..de72042cfa4b2289bddf42f05fc8bc87b195a540 100644 (file)
 #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;