include dix-config.h (Mike Harris) (bug 5835)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 8 Feb 2006 14:52:06 +0000 (14:52 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 8 Feb 2006 14:52:06 +0000 (14:52 +0000)
src/mesa/drivers/dri/common/glcontextmodes.c

index 5e9e352f2c6128f02ef89fc18ef4643494685dab..5c1617539d399c4f1342f34f8732964353eb0b30 100644 (file)
@@ -39,6 +39,9 @@
 # include "imports.h"
 # define __glXMemset  memset
 #else
+# if defined(XFree86Server) && defined (HAVE_DIX_CONFIG_H)
+#  include <dix-config.h>
+# endif
 # include <X11/X.h>
 # include <GL/glx.h>
 # include "GL/glxint.h"