Commit Diff


commit - 9cefc4c1a6b51bc17dbf315d7b79a1da8a8dc846
commit + a75b210eed1d491d23b0cfef8ac3a51607bf2c19
blob - 38ea2104f22cc12b748ebd82046d937ed5dadf8a
blob + aef7fe25d47dc0c4dd549e26c75439dcccf0e0b8
--- compat/landlock.c
+++ compat/landlock.c
@@ -18,14 +18,9 @@
 #include <linux/prctl.h>
 
 #include <sys/prctl.h>
-#include <sys/stat.h>
 #include <sys/syscall.h>
 
 #include <errno.h>
-#include <fcntl.h>
-#include <libgen.h>
-#include <limits.h>
-#include <string.h>
 #include <unistd.h>
 
 #include "got_compat.h"