summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-07-31 23:04:41 -0700
committerVinson Lee <[email protected]>2010-07-31 23:04:41 -0700
commit9846b0627149e221c9fbd7c3379e33fb68e68511 (patch)
treea73eb43172b1911f29fa5cc56f6e28f31cf2e036 /src/mesa/main
parente7242b6e8a6df30f198d112b4da885f9717191a7 (diff)
mesa: Remove inclusion of compiler.h from mtypes.h.
mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h1
-rw-r--r--src/mesa/main/texstate.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 7bb554d5199..3c2addb3a31 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -36,7 +36,6 @@
#include "main/glheader.h"
#include "main/config.h"
-#include "main/compiler.h"
#include "main/mfeatures.h"
#include "glapi/glapi.h"
#include "math/m_matrix.h" /* GLmatrix */
diff --git a/src/mesa/main/texstate.h b/src/mesa/main/texstate.h
index 17ac68000c5..912cb677985 100644
--- a/src/mesa/main/texstate.h
+++ b/src/mesa/main/texstate.h
@@ -32,6 +32,7 @@
#define TEXSTATE_H
+#include "compiler.h"
#include "mtypes.h"