summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-11-01 17:38:40 -0600
committerBrian Paul <[email protected]>2012-11-01 17:38:42 -0600
commit8d3fb1be6bd61e59fa241d6422419119956b7d90 (patch)
tree60da1bd3fcc77d2753c7bf14df9247aa89771a2c /src/gallium/targets
parentdf8a4001f50d787eb3584adc9b5bb1d6aa7fa24a (diff)
libgl-xlib: include glheader.h instead of GL/gl.h to fix build
GL/gl.h doesn't define GLfixed but glapitable.h uses it.
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/libgl-xlib/xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/libgl-xlib/xlib.c b/src/gallium/targets/libgl-xlib/xlib.c
index 0ede7e6096b..f974b618944 100644
--- a/src/gallium/targets/libgl-xlib/xlib.c
+++ b/src/gallium/targets/libgl-xlib/xlib.c
@@ -114,7 +114,7 @@ extern void (*linker_foo(const unsigned char *procName))()
#ifdef GLX_INDIRECT_RENDERING
#define GL_GLEXT_PROTOTYPES
-#include "GL/gl.h"
+#include "main/glheader.h"
#include "glapi/glapi.h"
#include "glapi/glapitable.h"