summaryrefslogtreecommitdiff
path: root/sysutils/runit-faster/files/patch-src_prot.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/runit-faster/files/patch-src_prot.h')
-rw-r--r--sysutils/runit-faster/files/patch-src_prot.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/runit-faster/files/patch-src_prot.h b/sysutils/runit-faster/files/patch-src_prot.h
new file mode 100644
index 000000000000..298aed099afe
--- /dev/null
+++ b/sysutils/runit-faster/files/patch-src_prot.h
@@ -0,0 +1,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