[Mesa-dev] [PATCH 3/3] nouveau: nv30: include the header of ffs prototype

Chih-Wei Huang cwhuang at android-x86.org
Thu Oct 15 08:46:32 PDT 2015


It fixes a building error of the android 6.0 64-bit target.

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
---
 src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c b/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
index 5757eb1..dbbb8ba 100644
--- a/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
+++ b/src/gallium/drivers/nouveau/nv30/nvfx_vertprog.c
@@ -1,3 +1,4 @@
+#include <strings.h>
 #include "pipe/p_context.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_state.h"
-- 
1.9.1



More information about the mesa-dev mailing list