use '__linux__' instead of '__linux' (reported by Ola Lundqvist)
[util-vserver.git] / util-vserver / src / compat-pivot_root.h
index 5ecff85..9c3872c 100644 (file)
 #ifndef H_UTIL_VSERVER_SRC_COMPAT_PIVOT_ROOT_H
 #define H_UTIL_VSERVER_SRC_COMPAT_PIVOT_ROOT_H
 
-#include <sys/syscall.h>
 #include <unistd.h>
-#include <asm/unistd.h>
 #include <errno.h>
 
+#include "syscall-wrap.h"
+
 inline static _syscall2(int,pivot_root,const char *,new_root,const char *,put_old)
 
 #endif //  H_UTIL_VSERVER_SRC_COMPAT_PIVOT_ROOT_H