[Mesa-dev] [PATCH 1/7] gallium: Add missing includes

Thomas Helland thomashelland90 at gmail.com
Sat Jun 3 18:11:36 UTC 2017


These will need to be in place to avoid regressions when
removing these includes from u_dynarray
---
 src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | 1 +
 src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c | 1 +
 src/gallium/state_trackers/va/config.c           | 1 +
 src/gallium/state_trackers/va/postproc.c         | 1 +
 4 files changed, 4 insertions(+)

diff --git a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c
index 4924d21f4c..61a5701284 100644
--- a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c
+++ b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c
@@ -5,6 +5,7 @@
 #include "util/u_dynarray.h"
 #include "util/u_inlines.h"
 #include "util/u_debug.h"
+#include "util/u_memory.h"
 
 #include "pipe/p_shader_tokens.h"
 #include "tgsi/tgsi_parse.h"
diff --git a/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c b/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
index baea701a02..03d711a4ce 100644
--- a/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
+++ b/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
@@ -4,6 +4,7 @@
 #include "pipe/p_state.h"
 #include "util/u_dynarray.h"
 #include "util/u_debug.h"
+#include "util/u_memory.h"
 
 #include "pipe/p_shader_tokens.h"
 #include "tgsi/tgsi_parse.h"
diff --git a/src/gallium/state_trackers/va/config.c b/src/gallium/state_trackers/va/config.c
index 05f97a01ee..c5d69bdc97 100644
--- a/src/gallium/state_trackers/va/config.c
+++ b/src/gallium/state_trackers/va/config.c
@@ -29,6 +29,7 @@
 #include "pipe/p_screen.h"
 
 #include "util/u_video.h"
+#include "util/u_memory.h"
 
 #include "vl/vl_winsys.h"
 
diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/state_trackers/va/postproc.c
index 8467b0e8f4..5b23891c37 100644
--- a/src/gallium/state_trackers/va/postproc.c
+++ b/src/gallium/state_trackers/va/postproc.c
@@ -26,6 +26,7 @@
  **************************************************************************/
 
 #include "util/u_handle_table.h"
+#include "util/u_memory.h"
 
 #include "vl/vl_defines.h"
 #include "vl/vl_video_buffer.h"
-- 
2.13.0



More information about the mesa-dev mailing list