Mesa (master): i965g: Include gl.h in intel_structs.h.

Vinson Lee vlee at kemper.freedesktop.org
Tue Jan 4 08:41:48 UTC 2011


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Jan  4 00:41:10 2011 -0800

i965g: Include gl.h in intel_structs.h.

Include gl.h for OpenGL symbols.

---

 src/gallium/drivers/i965/intel_structs.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/i965/intel_structs.h b/src/gallium/drivers/i965/intel_structs.h
index 522e3bd..8ecb998 100644
--- a/src/gallium/drivers/i965/intel_structs.h
+++ b/src/gallium/drivers/i965/intel_structs.h
@@ -1,6 +1,8 @@
 #ifndef INTEL_STRUCTS_H
 #define INTEL_STRUCTS_H
 
+#include <GL/gl.h>
+
 struct br0 {
    GLuint length:8;
    GLuint pad0:3;




More information about the mesa-commit mailing list