summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/chpst.c1
-rw-r--r--src/pathexec_run.c1
-rw-r--r--src/prot.c2
-rw-r--r--src/seek_set.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/src/chpst.c b/src/chpst.c
index f279d44..2055aeb 100644
--- a/src/chpst.c
+++ b/src/chpst.c
@@ -3,6 +3,7 @@
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <unistd.h>
+#include <grp.h>
 #include "sgetopt.h"
 #include "error.h"
 #include "strerr.h"
diff --git a/src/pathexec_run.c b/src/pathexec_run.c
index 1770ac7..70ac7a8 100644
--- a/src/pathexec_run.c
+++ b/src/pathexec_run.c
@@ -1,5 +1,6 @@
 /* Public domain. */
 
+#include <unistd.h>
 #include "error.h"
 #include "stralloc.h"
 #include "str.h"
diff --git a/src/prot.c b/src/prot.c
index 79a88c5..a617a53 100644
--- a/src/prot.c
+++ b/src/prot.c
@@ -1,5 +1,7 @@
 /* Public domain. */
 
+#include <unistd.h>
+#include <grp.h>
 #include "hasshsgr.h"
 #include "prot.h"
 
diff --git a/src/seek_set.c b/src/seek_set.c
index 19b8265..a1a36d0 100644
--- a/src/seek_set.c
+++ b/src/seek_set.c
@@ -1,6 +1,7 @@
 /* Public domain. */
 
 #include <sys/types.h>
+#include <unistd.h>
 #include "seek.h"
 
 #define SET 0 /* sigh */