From 2e1fd9c0443f19b37935af1a3d9029ac25063b18 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 19 Jun 2006 23:55:11 +0000 Subject: [PATCH] MFB: Added missing ifdef block. --- ext/posix/posix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 28921033d4..c960874c42 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -1053,6 +1053,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) @@ -1068,6 +1069,7 @@ PHP_FUNCTION(posix_initgroups) RETURN_BOOL(!initgroups((const char *)name, basegid)); } /* }}} */ +#endif /* * Local variables: -- 2.50.1