mirror of
https://github.com/samba-team/samba.git
synced 2025-09-06 17:44:20 +03:00
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 4b1e4c2212
)
This commit is contained in:
committed by
Karolin Seeger
parent
e2588af9cc
commit
38d723896d
@@ -23,10 +23,10 @@
|
|||||||
#include "../lib/util/util_pw.h"
|
#include "../lib/util/util_pw.h"
|
||||||
#include "nsswitch/libwbclient/wbclient.h"
|
#include "nsswitch/libwbclient/wbclient.h"
|
||||||
|
|
||||||
#if defined(WITH_WINBIND)
|
|
||||||
|
|
||||||
#include "lib/winbind_util.h"
|
#include "lib/winbind_util.h"
|
||||||
|
|
||||||
|
#if defined(WITH_WINBIND)
|
||||||
|
|
||||||
struct passwd * winbind_getpwnam(const char * name)
|
struct passwd * winbind_getpwnam(const char * name)
|
||||||
{
|
{
|
||||||
wbcErr result;
|
wbcErr result;
|
||||||
|
Reference in New Issue
Block a user