X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fcompat.h;h=ab18aea40c50929d437600349419257ec60c33b4;hb=005f9d824eccf328edd2b1ca951fc98f7943df7c;hp=e66ed1b4ccfd3cdc448a7cd9b537dc7362a5fb3a;hpb=6f11b01808ef8f5dfaec0483c110f745dde43c13;p=util-vserver.git 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__))