Mesa (master): libgl-xlib: include glheader.h instead of GL/gl. h to fix build

Brian Paul brianp at kemper.freedesktop.org
Thu Nov 1 23:39:48 UTC 2012


Module: Mesa
Branch: master
Commit: 8d3fb1be6bd61e59fa241d6422419119956b7d90
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8d3fb1be6bd61e59fa241d6422419119956b7d90

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Nov  1 17:38:40 2012 -0600

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.

---

 src/gallium/targets/libgl-xlib/xlib.c |    2 +-
 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 0ede7e6..f974b61 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"
 




More information about the mesa-commit mailing list