From 0117da40cd7edd3d165bb28569c289b37eca12b9 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 5 Jan 2011 23:11:54 -0800 Subject: mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file. --- src/mesa/main/readpix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main/readpix.c') diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index a5612e34ecf..e5b85ca32b4 100644 --- a/src/mesa/main/readpix.c +++ b/src/mesa/main/readpix.c @@ -30,6 +30,7 @@ #include "framebuffer.h" #include "formats.h" #include "image.h" +#include "mtypes.h" #include "state.h" -- cgit v1.2.3