summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-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 d61d3b121ba..b498a471534 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