summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/username.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/username.c b/source3/lib/username.c
index 8fb81e22b0..a9d391f11a 100644
--- a/source3/lib/username.c
+++ b/source3/lib/username.c
@@ -153,7 +153,7 @@ static struct passwd *_Get_Pwnam(char *s)
ret = getpwnam(s);
if (ret)
{
-#ifdef GETPWANAM
+#ifdef HAVE_GETPWANAM
struct passwd_adjunct *pwret;
pwret = getpwanam(s);
if (pwret)