summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cgi-wrapper.c2
-rw-r--r--src/common.h5
-rw-r--r--src/mail-wrapper.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/src/cgi-wrapper.c b/src/cgi-wrapper.c
index 8c3e21bea..c1cc26027 100644
--- a/src/cgi-wrapper.c
+++ b/src/cgi-wrapper.c
@@ -30,7 +30,7 @@
const char* logident = LOG_IDENT;
char* script = SCRIPTNAME;
-const int parentgid = LEGAL_PARENT_GID;
+const GID_T parentgid = LEGAL_PARENT_GID;
int
diff --git a/src/common.h b/src/common.h
index 50f7fd6ab..447bb6f9b 100644
--- a/src/common.h
+++ b/src/common.h
@@ -28,8 +28,11 @@
#include <sys/types.h>
#include <unistd.h>
+/* GETGROUPS_T gets set in the makefile by configure */
+#define GID_T GETGROUPS_T
+
extern void fatal(const char*, int, char*, ...);
-extern void check_caller(const char*, gid_t);
+extern void check_caller(const char*, GID_T);
extern int run_script(const char*, int, char**, char**);
/* bogus global variable used as a flag */
diff --git a/src/mail-wrapper.c b/src/mail-wrapper.c
index f1fd79f46..582eaa53b 100644
--- a/src/mail-wrapper.c
+++ b/src/mail-wrapper.c
@@ -27,7 +27,7 @@
*/
#define LEGAL_PARENT_GID MAIL_GID
-const int parentgid = LEGAL_PARENT_GID;
+const GID_T parentgid = LEGAL_PARENT_GID;
const char* logident = "Mailman mail-wrapper";