From 96c230344dd576e69abf1ec041d4d656461d8331 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 23 Nov 2011 18:58:41 +0100 Subject: [PATCH] linux: fix build when compiling with -std=c89 -pedantic --- src/unix/internal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unix/internal.h b/src/unix/internal.h index 12ab6217..80df6a83 100644 --- a/src/unix/internal.h +++ b/src/unix/internal.h @@ -27,6 +27,10 @@ #include /* offsetof */ +#if __STRICT_ANSI__ +# define inline __inline +#endif + #undef HAVE_FUTIMES #undef HAVE_PIPE2 #undef HAVE_ACCEPT4