From 28d1ab8272cf0688dd1090e66987ff7d5b369522 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 16 Oct 2003 02:29:56 +0000 Subject: [PATCH] do '#undef inline' for '--std=c99' dietlibc compilations git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@156 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/compat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/util-vserver/compat.h b/util-vserver/compat.h index e66ed1b..ab18aea 100644 --- a/util-vserver/compat.h +++ b/util-vserver/compat.h @@ -19,6 +19,11 @@ #ifndef H_UTIL_VSERVER_COMPAT_H #define H_UTIL_VSERVER_COMPAT_H +#if defined(__dietlibc__) && defined(__STRICT_ANSI__) && defined(__STDC_VERSION__) +# include +# undef inline +#endif + #if defined(__GNUC__) # define UNUSED __attribute__((__unused__)) # define NORETURN __attribute__((__noreturn__)) -- 1.8.1.5