From e4e0cf8a462c2cd3eaddaa718f192d735c71b524 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 2 May 2005 21:42:05 +0000 Subject: [PATCH 1/1] include also git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2076 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/lib/syscall-legacy.hc | 3 ++- util-vserver/lib/syscall-wrap.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/util-vserver/lib/syscall-legacy.hc b/util-vserver/lib/syscall-legacy.hc index f05daee..e638242 100644 --- a/util-vserver/lib/syscall-legacy.hc +++ b/util-vserver/lib/syscall-legacy.hc @@ -34,10 +34,11 @@ #include #include #include -#include #include #include +#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. diff --git a/util-vserver/lib/syscall-wrap.h b/util-vserver/lib/syscall-wrap.h index b7c539d..f46013c 100644 --- a/util-vserver/lib/syscall-wrap.h +++ b/util-vserver/lib/syscall-wrap.h @@ -20,6 +20,7 @@ #define H_UTIL_VSERVER_LIB_SYSCALL_WRAP_H #include +#include #include #ifdef ENSC_USE_ALTERNATIVE_SYSCALL_MACROS -- 1.8.1.5