aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'security.c')
-rw-r--r--security.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security.c b/security.c
index 19bf78f..f1a34df 100644
--- a/security.c
+++ b/security.c
@@ -5,8 +5,21 @@
* Copyright 2015 Mike Frysinger - <vapier@gentoo.org>
*/
+#include <errno.h>
+
+#ifdef WANT_SECCOMP
+#include <linux/seccomp.h>
+#include <linux/securebits.h>
+#endif
+
+#include <sched.h>
+#include <stdbool.h>
+#include <sys/prctl.h>
+#include <unistd.h>
+
#include "paxinc.h"
#include "seccomp-bpf.h"
+#include "security.h"
#ifdef __linux__