nouveau: Fix serious compiler warnings
authorJohannes Obermayr <johannesobermayr@gmx.de>
Fri, 18 Mar 2011 18:10:07 +0000 (12:10 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 18 Mar 2011 18:10:11 +0000 (12:10 -0600)
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=35025

Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/nouveau/nouveau_screen.c
src/mesa/drivers/dri/nouveau/nouveau_texture.c

index 4cd82a51c1480fc82600272bcb5d3515dd731f9d..401155bba6eb8daa923d951571de2218c8baf591 100644 (file)
@@ -12,6 +12,7 @@
 #include <errno.h>
 
 #include "nouveau/nouveau_bo.h"
+#include "nouveau/nouveau_mm.h"
 #include "nouveau_winsys.h"
 #include "nouveau_screen.h"
 #include "nouveau_fence.h"
index 988208ff56ecbf091a98713cd90615d68a6c87a5..1a1e10e0b3a428464038597008c300cba603d6c1 100644 (file)
@@ -30,6 +30,7 @@
 #include "nouveau_fbo.h"
 #include "nouveau_util.h"
 
+#include "main/pbo.h"
 #include "main/texobj.h"
 #include "main/texstore.h"
 #include "main/texformat.h"