--- gdk/gdkglquery.c.orig 2009-08-24 14:43:25.000000000 +0400 +++ gdk/gdkglquery.c 2009-08-24 14:44:18.000000000 +0400 @@ -27,7 +27,11 @@ #include #endif +#ifdef GDK_WINDOWING_QUARTZ +#include +#else #include +#endif /* * This code is based on glutExtensionSupported().