--- lex.c.orig 2011-07-03 09:55:09.000000000 -0700 +++ lex.c 2011-07-03 09:55:52.000000000 -0700 @@ -10,7 +10,11 @@ struct kwtable {const char *name; int id /* maximum key range = 50, duplicates = 0 */ #ifdef __GNUC__ +#ifdef __GNUC_STDC_INLINE__ +static inline +#else __inline +#endif #else #ifdef __cplusplus inline @@ -66,8 +70,12 @@ hash (str, len) } #ifdef __GNUC__ +#ifdef __GNUC_STDC_INLINE__ +static inline +#else __inline #endif +#endif struct kwtable * rb_reserved_word (str, len) register const char *str;