summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-07-02 18:59:44 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-07-02 18:59:44 +0000
commit826a6f029faeabaa783a93dfdccca846f9326b58 (patch)
treec5169841e864ee7059997d9d6735f0d72b19b1d4 /GL
parente58c09d31bdf90210e2ec1ef976cea0459cdc02a (diff)
Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.
Diffstat (limited to 'GL')
-rw-r--r--GL/glx/glcontextmodes.c3
-rw-r--r--GL/glx/glcontextmodes.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/GL/glx/glcontextmodes.c b/GL/glx/glcontextmodes.c
index c540e5bae..1893a9e69 100644
--- a/GL/glx/glcontextmodes.c
+++ b/GL/glx/glcontextmodes.c
@@ -31,6 +31,9 @@
* \author Ian Romanick <idr@us.ibm.com>
*/
+#ifdef HAVE_CONFIG_H
+#include <dix-config.h>
+#endif
#ifdef DRI_NEW_INTERFACE_ONLY
# include <stdlib.h>
# include <string.h>
diff --git a/GL/glx/glcontextmodes.h b/GL/glx/glcontextmodes.h
index 46b4c68dc..d8f2064d5 100644
--- a/GL/glx/glcontextmodes.h
+++ b/GL/glx/glcontextmodes.h
@@ -27,6 +27,9 @@
* \author Ian Romanick <idr@us.ibm.com>
*/
+#ifdef HAVE_CONFIG_H
+#include <dix-config.h>
+#endif
#ifndef GLCONTEXTMODES_H
#define GLCONTEXTMODES_H