Mesa (master): nv30: include the header of ffs prototype

Ilia Mirkin imirkin at kemper.freedesktop.org
Thu Oct 15 19:01:46 UTC 2015


Module: Mesa
Branch: master
Commit: 7599f8b167321cb8adb2ba51a53163752b668532
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7599f8b167321cb8adb2ba51a53163752b668532

Author: Chih-Wei Huang <cwhuang at android-x86.org>
Date:   Thu Oct 15 23:46:32 2015 +0800

nv30: include the header of ffs prototype

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

Signed-off-by: Chih-Wei Huang <cwhuang at linux.org.tw>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: mesa-stable at lists.freedesktop.org

---

 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"




More information about the mesa-commit mailing list