git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2076
94cd875c-1c1d-0410-91d2-
eb244daf1a30
#include <string.h>
#include <stdlib.h>
#include <errno.h>
-#include <syscall.h>
#include <asm/unistd.h>
#include <stdbool.h>
+#include "syscall-wrap.h"
+
// Here is the trick. We keep a copy of the define, then undef it
// and then later, we try to locate the value reading /proc/self/status
// If this fails, we have the old preserved copy.
#define H_UTIL_VSERVER_LIB_SYSCALL_WRAP_H
#include <sys/syscall.h>
+#include <syscall.h>
#include <unistd.h>
#ifdef ENSC_USE_ALTERNATIVE_SYSCALL_MACROS