added missing #include's
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 2 Jun 2010 20:27:50 +0000 (20:27 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Wed, 2 Jun 2010 20:27:50 +0000 (20:27 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2889 94cd875c-1c1d-0410-91d2-eb244daf1a30

lib/syscall_setiattr-fscompat.hc
lib_internal/matchlist-initrefserverlist.c
src/testsuite/hashcalc-plain.c
src/vcontext.c

index a809132..f14e862 100644 (file)
@@ -26,6 +26,7 @@
 #include "ioctl-getxflg.hc"
 
 #include <fcntl.h>
+#include <sys/stat.h>
 
 static inline ALWAYSINLINE int
 vc_set_iattr_fscompat(char const *filename,
index f777ce8..466e573 100644 (file)
@@ -26,6 +26,7 @@
 #include <dirent.h>
 #include <string.h>
 #include <fcntl.h>
+#include <sys/stat.h>
 
 #define ENSC_WRAPPERS_FCNTL    1
 #define ENSC_WRAPPERS_UNISTD   1
index a444f3d..5130708 100644 (file)
@@ -24,6 +24,7 @@
 #include <stdbool.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <sys/stat.h>
 #include <sys/mman.h>
 
 #define ENSC_TESTSUITE
index 57a45fe..1ec45a8 100644 (file)
@@ -21,6 +21,7 @@
 #endif
 
 #include "util.h"
+#include "compat-pivot_root.h"
 #include "lib/internal.h"
 #include "lib_internal/jail.h"
 #include "lib_internal/sys_personality.h"