summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/depth.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/depth.h b/src/mesa/main/depth.h
index d61d3b121b..b498a47153 100644
--- a/src/mesa/main/depth.h
+++ b/src/mesa/main/depth.h
@@ -32,7 +32,10 @@
#define DEPTH_H
-#include "mtypes.h"
+#include "glheader.h"
+#include "mfeatures.h"
+
+struct gl_context;
#if _HAVE_FULL_GL