summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 8d22f45e3c..c52562274c 100644
--- a/process.c
+++ b/process.c
@@ -145,7 +145,7 @@ static void check_gid_switch(void);
#endif
#if defined(HAVE_PWD_H)
-# if defined(HAVE_GETPWNAM_R) && defined(HAVE_GETPWNAM_R)
+# if defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX)
# define USE_GETPWNAM_R 1
# endif
# ifdef USE_GETPWNAM_R