From a66befc3c899436d976605d9a59ed70b6d174de3 Mon Sep 17 00:00:00 2001 From: Thomas Helland Date: Thu, 1 Jun 2017 22:52:02 +0200 Subject: [PATCH] gallium: Add missing includes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These will need to be in place to avoid regressions when removing these includes from the u_dynarray Reviewed-by: Marek Olšák Reviewed-by: Eric Engestrom --- 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 4924d21f4c2..61a5701284d 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 baea701a027..03d711a4cec 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 05f97a01eeb..c5d69bdc974 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 8467b0e8f42..5b23891c377 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.30.2