From 277b94f172c44cb4199a740722f42bc701d591dc Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 8 Jun 2015 14:48:29 +0300 Subject: [PATCH] dri/nouveau: Include simple_list.h explicitly in nv*_state_tnl.c. Reviewed-by: Brian Paul --- src/mesa/drivers/dri/nouveau/nv10_state_tnl.c | 2 ++ src/mesa/drivers/dri/nouveau/nv20_state_tnl.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c b/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c index c0c7b26bbf7..1398385b262 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c +++ b/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c @@ -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) { diff --git a/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c b/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c index f0acbed8560..41395516ea4 100644 --- a/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c +++ b/src/mesa/drivers/dri/nouveau/nv20_state_tnl.c @@ -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) -- 2.30.2