]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Correction to r1092235:
authorJeff Trawick <trawick@apache.org>
Thu, 14 Apr 2011 14:24:45 +0000 (14:24 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 14 Apr 2011 14:24:45 +0000 (14:24 +0000)
Fix location of initgroups prototype, outside of AP_MPM_USES_POD
check.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1092275 13f79535-47bb-0310-9956-ffa450edef68

include/mpm_common.h

index a571b0dd0b24ae9d78138559db532bfcf189c529..125fe8093829ab493f4c36937e6931f4afa6da4b 100644 (file)
@@ -216,8 +216,6 @@ AP_DECLARE(gid_t) ap_gname2id(const char *name);
 
 #define AP_MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h"
 
-#ifdef AP_MPM_USES_POD
-
 #ifndef HAVE_INITGROUPS
 /**
  * The initgroups() function initializes the group access list by reading the
@@ -231,6 +229,8 @@ AP_DECLARE(gid_t) ap_gname2id(const char *name);
 int initgroups(const char *name, gid_t basegid);
 #endif
 
+#ifdef AP_MPM_USES_POD
+
 typedef struct ap_pod_t ap_pod_t;
 
 struct ap_pod_t {