aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshtrophic <christoph@liebender.dev>2024-11-16 13:50:16 +0100
committershtrophic <christoph@liebender.dev>2024-11-16 13:50:16 +0100
commit017140f5235d5c379402715f2cbbe1fdd037ba16 (patch)
tree90148bde7a70755618796e34d664075d7d9edb60
parent559f23c8080806e95a43a25f917762121fbbeee2 (diff)
remove unused headers
-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 @@
#if defined (__linux__)
# define __USE_GNU
# include <linux/landlock.h>
-# include <linux/prctl.h>
# include <sys/syscall.h>
# include <sys/prctl.h>
+# include <stdint.h>
# include <fcntl.h>
-# include <arpa/inet.h>
#endif
void sbox_enter(const char *basedir)