summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2006-02-15 21:03:34 +0000
committerEric Anholt <[email protected]>2006-02-15 21:03:34 +0000
commita176bc6c1781ccbd12cdd7ac215a15178b73d5bb (patch)
tree3e8bceeb7bbbb73527e99890bf978d63947aa837 /src
parentee40c4fb34bd06ecc6dd6f2e658ca2c2c20af952 (diff)
Include dix-config.h if HAVE_DIX_CONFIG_H is defined. This will be used by the
X Server to get things like _XSERVER64 (for X headers) and NO_LIBCWRAPPER defined consistently when its builds Mesa internally.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/glheader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index aab7165c720..0ebadaa9fa6 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -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"