瀏覽代碼

remove unused headers

shtrophic 1 年之前
父節點
當前提交
017140f523
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      sandbox.c

+ 1 - 2
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)