summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 0753e619fed..fd25e703e04 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,