From 0406556da48899c1bd61ab729538b53eb4ec58a9 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 19 Jun 2006 23:52:39 +0000 Subject: [PATCH] Added missing ifdef block. # Thanks Mike --- ext/posix/posix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 715f482e8d..b8b6bafd06 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -1059,6 +1059,7 @@ PHP_FUNCTION(posix_strerror) #endif +#ifdef HAVE_INITGROUPS /* {{{ proto bool initgroups(string name, int base_group_id) Calculate the group access list for the user specified in name. */ PHP_FUNCTION(posix_initgroups) @@ -1074,6 +1075,7 @@ PHP_FUNCTION(posix_initgroups) RETURN_BOOL(!initgroups((const char *)name, basegid)); } /* }}} */ +#endif /* * Local variables: -- 2.50.1