summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-10-13 13:28:48 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-10-13 13:28:48 +0000
commitc28d0f779aec13f937d452de01a1b34a2ec44de8 (patch)
tree10d87e4d8e9986ff4c1a90e7e7dd0cb8745e3319 /src
parenta2c50b0f4ad16855cf8a2ff2ab4029342f4297dd (diff)
include glapi.h to fix broken build
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/indirect.c1
-rw-r--r--src/mesa/glapi/glX_proto_send.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/indirect.c b/src/glx/x11/indirect.c
index b8678be93b..b62f2a3a17 100644
--- a/src/glx/x11/indirect.c
+++ b/src/glx/x11/indirect.c
@@ -32,6 +32,7 @@
#include "indirect_size.h"
#include "dispatch.h"
#include "glthread.h"
+#include "glapi.h"
#include <GL/glxproto.h>
#ifdef USE_XCB
#include <X11/Xlib-xcb.h>
diff --git a/src/mesa/glapi/glX_proto_send.py b/src/mesa/glapi/glX_proto_send.py
index 7d035e5fae..1b6a5f3890 100644
--- a/src/mesa/glapi/glX_proto_send.py
+++ b/src/mesa/glapi/glX_proto_send.py
@@ -167,6 +167,7 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
print '#include "glxclient.h"'
print '#include "indirect_size.h"'
print '#include "dispatch.h"'
+ print '#include "glapi.h"'
print '#include "glthread.h"'
print '#include <GL/glxproto.h>'
print '#ifdef USE_XCB'