--- a/lib/iconv.c.orig	2011-01-29 11:28:09.000000000 -0600
+++ b/lib/iconv.c	2011-08-14 00:54:08.000000000 -0500
@@ -176,7 +176,9 @@
 #include "aliases2.h"
 #undef S
 };
-#ifdef __GNUC__
+#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC_STDC_INLINE__)
+static inline
+#elif defined(__GNUC__)
 __inline
 #endif
 const struct alias *
