summaryrefslogtreecommitdiff
path: root/sysutils/runit-faster/files/patch-src_prot.h
blob: 298aed099afe30509d9972ccd4e780e10fb64579 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/prot.h.orig	2018-03-05 09:38:43 UTC
+++ src/prot.h
@@ -3,7 +3,10 @@
 #ifndef PROT_H
 #define PROT_H
 
-extern int prot_gid(int);
-extern int prot_uid(int);
+#include <sys/param.h>
+#include <unistd.h>
+
+extern int prot_gid(gid_t);
+extern int prot_uid(uid_t);
 
 #endif