dri/nouveau: Include simple_list.h explicitly in nv*_state_tnl.c.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 8 Jun 2015 11:48:29 +0000 (14:48 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 9 Jun 2015 10:56:06 +0000 (13:56 +0300)
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/nouveau/nv10_state_tnl.c
src/mesa/drivers/dri/nouveau/nv20_state_tnl.c

index c0c7b26bbf70eabbf35c6b38fa5b26c8dc777964..1398385b262611e9453a4dfaf886cbc24f47ca42 100644 (file)
@@ -31,6 +31,8 @@
 #include "nv10_3d.xml.h"
 #include "nv10_driver.h"
 
+#include "util/simple_list.h"
+
 void
 nv10_emit_clip_plane(struct gl_context *ctx, int emit)
 {
index f0acbed8560f5a7aa9aa6a5a990f704583a3fdc1..41395516ea415d4f02df849d0fccff2b09781b14 100644 (file)
@@ -32,6 +32,8 @@
 #include "nv10_driver.h"
 #include "nv20_driver.h"
 
+#include "util/simple_list.h"
+
 #define LIGHT_MODEL_AMBIENT_R(side)                    \
        ((side) ? NV20_3D_LIGHT_MODEL_BACK_AMBIENT_R :  \
         NV20_3D_LIGHT_MODEL_FRONT_AMBIENT_R)