summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/process/setuid.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/process/setuid.c b/src/lib/process/setuid.c
index 6c6cb48f52..fa1cdc0f3f 100644
--- a/src/lib/process/setuid.c
+++ b/src/lib/process/setuid.c
@@ -28,6 +28,12 @@
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
+#ifdef HAVE_SYS_CAPABILITY_H
+#include <sys/capability.h>
+#endif
+#ifdef HAVE_SYS_PRCTL_H
+#include <sys/prctl.h>
+#endif
#include <errno.h>
#include <string.h>