--- a/mercurial/bdiff.c Sat Jun 20 10:53:47 2009 -0500 +++ b/mercurial/bdiff.c Sat Jun 20 11:50:51 2009 -0500 @@ -18,6 +18,10 @@ # define inline #endif +#ifdef __linux +# define inline __inline +#endif + #ifdef _WIN32 #ifdef _MSC_VER #define inline __inline