From: Jeff Trawick Date: Thu, 14 Apr 2011 14:24:45 +0000 (+0000) Subject: Correction to r1092235: X-Git-Tag: 2.2.18~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da1689d5e18c5268b211b40190efab8f3dc6d5b3;p=thirdparty%2Fapache%2Fhttpd.git Correction to r1092235: 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 --- diff --git a/include/mpm_common.h b/include/mpm_common.h index a571b0dd0b2..125fe809382 100644 --- a/include/mpm_common.h +++ b/include/mpm_common.h @@ -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 {