--- xserver/hw/darwin/quartz/xpr/dri.c.orig 2006-09-25 19:23:58.000000000 +0200 +++ xserver/hw/darwin/quartz/xpr/dri.c 2006-11-06 10:36:52.000000000 +0100 @@ -37,6 +37,9 @@ #include #include +#ifdef HAVE_XORG_CONFIG_H +#include +#endif #define NEED_REPLIES #define NEED_EVENTS #include