summaryrefslogtreecommitdiff
path: root/source3/lib/username.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-07-31 03:33:25 +0000
committerAndrew Tridgell <tridge@samba.org>1998-07-31 03:33:25 +0000
commit3a1fdf05dde2fdd71976b77b85635e300bd436f7 (patch)
treec8510d9d94bb15c5aa180ee70aaf85c4b473cd83 /source3/lib/username.c
parent7284bb5ca049a682097bb25afcf25d40f1ac5479 (diff)
downloadsamba-3a1fdf05dde2fdd71976b77b85635e300bd436f7.tar.gz
samba-3a1fdf05dde2fdd71976b77b85635e300bd436f7.tar.bz2
samba-3a1fdf05dde2fdd71976b77b85635e300bd436f7.zip
added test for getpwanam().
(This used to be commit 4eb28f7148f61a215ca644cbe704a4e8dbd83a77)
Diffstat (limited to 'source3/lib/username.c')
-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)