Mesa (gallium-resources): nv50: fix compiler warning

Keith Whitwell keithw at kemper.freedesktop.org
Wed Apr 7 17:00:36 UTC 2010


Module: Mesa
Branch: gallium-resources
Commit: 7eb1bfb97a790c73188d6b616d54fb3849e69b1e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7eb1bfb97a790c73188d6b616d54fb3849e69b1e

Author: Keith Whitwell <keithw at vmware.com>
Date:   Wed Apr  7 17:26:08 2010 +0100

nv50: fix compiler warning

---

 src/gallium/drivers/nv50/nv50_context.c |    1 +
 src/gallium/drivers/nv50/nv50_screen.c  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c
index d41b5fc..65b9102 100644
--- a/src/gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -25,6 +25,7 @@
 
 #include "nv50_context.h"
 #include "nv50_screen.h"
+#include "nv50_resource.h"
 
 static void
 nv50_flush(struct pipe_context *pipe, unsigned flags,
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index 324ecac..5b9d9a9 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -24,6 +24,7 @@
 
 #include "nv50_context.h"
 #include "nv50_screen.h"
+#include "nv50_resource.h"
 
 #include "nouveau/nouveau_stateobj.h"
 




More information about the mesa-commit mailing list