summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbwarsaw1999-12-12 07:01:38 +0000
committerbwarsaw1999-12-12 07:01:38 +0000
commitac82860a05559c1ed7668dd7c0d2877f7b14a950 (patch)
tree54cef7db578b405c74a6284915343d070a0f3594 /src
parent0adcf3118125d2ab36944afcea61ed8bbb8c4766 (diff)
downloadmailman-ac82860a05559c1ed7668dd7c0d2877f7b14a950.tar.gz
mailman-ac82860a05559c1ed7668dd7c0d2877f7b14a950.tar.zst
mailman-ac82860a05559c1ed7668dd7c0d2877f7b14a950.zip
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";