summaryrefslogtreecommitdiff
path: root/ext/posix/php_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/php_posix.h')
-rw-r--r--ext/posix/php_posix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/posix/php_posix.h b/ext/posix/php_posix.h
index 1970c2dab9..4defff806e 100644
--- a/ext/posix/php_posix.h
+++ b/ext/posix/php_posix.h
@@ -54,8 +54,12 @@ PHP_FUNCTION(posix_seteuid);
#ifdef HAVE_SETEGID
PHP_FUNCTION(posix_setegid);
#endif
+#ifdef HAVE_GETGROUPS
PHP_FUNCTION(posix_getgroups);
+#endif
+#ifdef HAVE_GETLOGIN
PHP_FUNCTION(posix_getlogin);
+#endif
/* POSIX.1, 4.3 */
PHP_FUNCTION(posix_getpgrp);