From 692760720b197b46e8e4268bede8cad6f90399aa Mon Sep 17 00:00:00 2001 From: Manuel Mausz Date: Tue, 11 Jun 2019 15:28:27 +0200 Subject: Fix compile warnings... --- chkshsgr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chkshsgr.c') diff --git a/chkshsgr.c b/chkshsgr.c index 2bcdade..bee9700 100644 --- a/chkshsgr.c +++ b/chkshsgr.c @@ -1,7 +1,11 @@ +#include +#include +#include #include "exit.h" + void main() { - short x[4]; + gid_t x[4]; x[0] = x[1] = 0; if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); -- cgit v1.2.3