summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2006-10-13 17:34:01 +0000
committerIan Romanick <[email protected]>2006-10-13 17:34:01 +0000
commit461651357713b1408400669d6a809f2e367182fe (patch)
treeaaa5333418ef8d20761c106169a63d731ce9b0d7 /src/glx
parent176501dfff14b5bec78af2b3487207d42c26d37a (diff)
Fix dumb build errors.
I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is required in some places because _glapi_Dispatch is declared there, but _glapi_tls_Dispatch is declared in glthread.h.
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/singlepix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/singlepix.c b/src/glx/x11/singlepix.c
index 5eeb4cedab3..a7b5b798707 100644
--- a/src/glx/x11/singlepix.c
+++ b/src/glx/x11/singlepix.c
@@ -37,6 +37,7 @@
#include "packsingle.h"
#include "indirect.h"
#include "dispatch.h"
+#include "glapi.h"
#include "glthread.h"
#include "glapioffsets.h"
#include <GL/glxproto.h>