contain: remove unnecessary includes
authorRobert Swiecki <robert@swiecki.net>
Sun, 1 Oct 2017 17:08:31 +0000 (19:08 +0200)
committerRobert Swiecki <robert@swiecki.net>
Sun, 1 Oct 2017 17:08:31 +0000 (19:08 +0200)
contain.c

index 7b152ad35ffdeafb723c9df4dcc5a4bfe4626e2f..7f909caf56869ed1270a72a3df9d7a112649554a 100644 (file)
--- a/contain.c
+++ b/contain.c
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
-#include <grp.h>
-#include <inttypes.h>
-#include <linux/capability.h>
-#include <sched.h>
 #include <signal.h>
 #include <stdbool.h>
 #include <stddef.h>
@@ -38,8 +34,6 @@
 #include <sys/prctl.h>
 #include <sys/resource.h>
 #include <sys/stat.h>
-#include <sys/syscall.h>
-#include <sys/time.h>
 #include <unistd.h>
 
 #include "caps.h"