Mesa (gallium-map-range): mesa: include main/dd.h in t_vb_points. c and t_vp_build.c
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Mar 4 15:45:00 UTC 2009
Module: Mesa
Branch: gallium-map-range
Commit: a255472ee789d13c07174e385c7d40f965916e7b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a255472ee789d13c07174e385c7d40f965916e7b
Author: Brian Paul <brianp at vmware.com>
Date: Tue Mar 3 20:45:45 2009 -0700
mesa: include main/dd.h in t_vb_points.c and t_vp_build.c
For some reason makedepend doesn't seem to find the dependency on this
header in these two files. Directly including the header is a work-around.
---
src/mesa/tnl/t_vb_points.c | 2 ++
src/mesa/tnl/t_vp_build.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/mesa/tnl/t_vb_points.c b/src/mesa/tnl/t_vb_points.c
index 01d055c..a52505b 100644
--- a/src/mesa/tnl/t_vb_points.c
+++ b/src/mesa/tnl/t_vb_points.c
@@ -25,7 +25,9 @@
* Brian Paul
*/
+#include "main/glheader.h"
#include "main/mtypes.h"
+#include "main/dd.h"
#include "main/imports.h"
#include "t_context.h"
#include "t_pipeline.h"
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c
index 7be4d95..735937b 100644
--- a/src/mesa/tnl/t_vp_build.c
+++ b/src/mesa/tnl/t_vp_build.c
@@ -32,6 +32,7 @@
#include "main/glheader.h"
#include "main/ffvertex_prog.h"
+#include "main/dd.h"
#include "t_vp_build.h"
More information about the mesa-commit
mailing list