diff options
author | Christof Schmitt <cs@samba.org> | 2019-03-05 11:50:48 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-03-12 11:25:43 +0000 |
commit | 38d723896da46e5e799f2cb6ee6a25711a40e450 (patch) | |
tree | 7a8bb2ffecbf15b514d29330f7305087564c2727 | |
parent | e2588af9cc4e712eb5afc6333e1d98fc7943af18 (diff) | |
download | samba-38d723896da46e5e799f2cb6ee6a25711a40e450.tar.gz |
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 <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 4b1e4c22128bdefe549a58b181e9b755854f4c3e)
-rw-r--r-- | source3/lib/winbind_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |