summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/viewport.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-01-05 23:11:54 -0800
committerVinson Lee <[email protected]>2011-01-05 23:11:54 -0800
commit0117da40cd7edd3d165bb28569c289b37eca12b9 (patch)
tree2ae38dec9956057361b85317d474bb2b759cc273 /src/mesa/main/viewport.c
parenta728646fb55245477d35e2761c3e0d15099b4cd4 (diff)
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.
Diffstat (limited to 'src/mesa/main/viewport.c')
-rw-r--r--src/mesa/main/viewport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c
index 4747022d0b4..d19ae3b6c12 100644
--- a/src/mesa/main/viewport.c
+++ b/src/mesa/main/viewport.c
@@ -31,6 +31,7 @@
#include "context.h"
#include "macros.h"
+#include "mtypes.h"
#include "viewport.h"