diff -r cede00420e1e -r 26f8844d1757 mercurial/osutil.c --- a/mercurial/osutil.c Wed Mar 23 23:33:14 2011 +0100 +++ b/mercurial/osutil.c Wed Mar 23 23:05:32 2011 +0100 @@ -515,7 +515,7 @@ #endif #ifdef __APPLE__ -#import +#include static PyObject *isgui(PyObject *self) {