summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/unix/groupinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/unix/groupinfo.c b/user/unix/groupinfo.c
index 0b575a627..038675270 100644
--- a/user/unix/groupinfo.c
+++ b/user/unix/groupinfo.c
@@ -91,7 +91,7 @@ APR_DECLARE(apr_status_t) apr_get_groupid(apr_gid_t *groupid, const char *groupn
struct group *gr;
#ifndef BEOS
-#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETGRGID_R)
+#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETGRNAM_R)
struct group grp;
char grbuf[512];