--- ./Modules/socketmodule.h.DIST 2008-08-06 23:38:06.000000000 +0300 +++ ./Modules/socketmodule.h 2008-12-06 20:12:53.000000000 +0200 @@ -66,6 +66,14 @@ #endif #ifdef HAVE_LINUX_TIPC_H +/* linux tipc.h header is not c89 compatible - inline in use */ +#if !defined(__cplusplus) && !defined(inline) +# if defined (__GNUC__) +# define inline __inline +# else + /*FIXME*/ +# endif +#endif # include #endif --- ./Modules/linuxaudiodev.c.DIST 2008-08-06 23:38:06.000000000 +0300 +++ ./Modules/linuxaudiodev.c 2008-12-06 20:10:09.000000000 +0200 @@ -25,7 +25,10 @@ #include -#if defined(linux) +/* Use __linux, __linux__ or __gnu_linux__ instead linux. + * As example linux isn't defined for -std=c89 compiler flag. + */ +#if defined(__linux) #include #ifndef HAVE_STDINT_H