mesa: Clean up header file inclusion in readpix.h.
authorVinson Lee <vlee@vmware.com>
Sun, 21 Nov 2010 05:23:35 +0000 (21:23 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 21 Nov 2010 05:23:35 +0000 (21:23 -0800)
src/mesa/main/readpix.h

index 0753e619fed17d0895f4dda0ae226df6d7ecff71..fd25e703e04f372e01cc07dd64a75ac65c61454c 100644 (file)
@@ -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,