From: Enrico Scholz Date: Thu, 16 Oct 2003 02:29:56 +0000 (+0000) Subject: do '#undef inline' for '--std=c99' dietlibc compilations X-Git-Tag: VERSION_0_10~1254 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28d1ab8272cf0688dd1090e66987ff7d5b369522;p=util-vserver.git 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 --- 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__))