summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sandbox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox.c b/sandbox.c
index c8fbdaf..07a3094 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -7,11 +7,10 @@
7#if defined (__linux__) 7#if defined (__linux__)
8# define __USE_GNU 8# define __USE_GNU
9# include <linux/landlock.h> 9# include <linux/landlock.h>
10# include <linux/prctl.h>
11# include <sys/syscall.h> 10# include <sys/syscall.h>
12# include <sys/prctl.h> 11# include <sys/prctl.h>
12# include <stdint.h>
13# include <fcntl.h> 13# include <fcntl.h>
14# include <arpa/inet.h>
15#endif 14#endif
16 15
17void sbox_enter(const char *basedir) 16void sbox_enter(const char *basedir)