libgl-xlib: include glheader.h instead of GL/gl.h to fix build
authorBrian Paul <brianp@vmware.com>
Thu, 1 Nov 2012 23:38:40 +0000 (17:38 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Nov 2012 23:38:42 +0000 (17:38 -0600)
GL/gl.h doesn't define GLfixed but glapitable.h uses it.

src/gallium/targets/libgl-xlib/xlib.c

index 0ede7e6096b3a5e736dafe818ff74ae39b10e715..f974b6189445f91c75274917e8fdc8b7564123ee 100644 (file)
@@ -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"