Include dix-config.h if HAVE_DIX_CONFIG_H is defined. This will be used by the
authorEric Anholt <anholt@FreeBSD.org>
Wed, 15 Feb 2006 21:03:34 +0000 (21:03 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 15 Feb 2006 21:03:34 +0000 (21:03 +0000)
X Server to get things like _XSERVER64 (for X headers) and NO_LIBCWRAPPER
defined consistently when its builds Mesa internally.

src/mesa/main/glheader.h

index aab7165..0ebadaa 100644 (file)
@@ -46,6 +46,9 @@
 #ifndef GLHEADER_H
 #define GLHEADER_H
 
+#ifdef HAVE_DIX_CONFIG_H
+#include "dix-config.h"
+#endif
 
 #if defined(XFree86LOADER) && defined(IN_MODULE) && !defined(NO_LIBCWRAPPER)
 #include "xf86_ansic.h"