summaryrefslogtreecommitdiff
path: root/src/mesa/main/readpix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/readpix.h')
-rw-r--r--src/mesa/main/readpix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/readpix.h b/src/mesa/main/readpix.h
index 0753e619fe..fd25e703e0 100644
--- a/src/mesa/main/readpix.h
+++ b/src/mesa/main/readpix.h
@@ -27,8 +27,9 @@
#define READPIXELS_H
-#include "main/mtypes.h"
+#include "glheader.h"
+struct gl_context;
extern GLboolean
_mesa_error_check_format_type(struct gl_context *ctx, GLenum format, GLenum type,