summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/convolve.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/main/convolve.h b/src/mesa/main/convolve.h
index 0277917433d..7dc0a48b74d 100644
--- a/src/mesa/main/convolve.h
+++ b/src/mesa/main/convolve.h
@@ -28,7 +28,10 @@
#define CONVOLVE_H
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "mfeatures.h"
+
+struct _glapi_table;
#if FEATURE_convolve
@@ -38,8 +41,6 @@ _mesa_init_convolve_dispatch(struct _glapi_table *disp);
#else /* FEATURE_convolve */
-#include "main/compiler.h"
-
static INLINE void
_mesa_init_convolve_dispatch(struct _glapi_table *disp)
{