summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/histogram.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/histogram.h b/src/mesa/main/histogram.h
index 240087141b3..577324222ca 100644
--- a/src/mesa/main/histogram.h
+++ b/src/mesa/main/histogram.h
@@ -36,7 +36,10 @@
#ifndef HISTOGRAM_H
#define HISTOGRAM_H
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "mfeatures.h"
+
+struct _glapi_table;
#if FEATURE_histogram