radeonsi: use util_strchrnul() to fix android build error
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 21 Feb 2016 19:57:47 +0000 (20:57 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 1 Apr 2016 12:56:57 +0000 (13:56 +0100)
commite09d04cd56eaca4db027c7faa3f92f4fb18b6751
tree26a92d2f8a2f486beb51e5e4274abf6792350d8c
parent952720ccee0b4e97729e1972cf22b463641f1569
radeonsi: use util_strchrnul() to fix android build error

Android Bionic does not support strchrnul() string function,
gallium auxiliary util/u_string.h provides util_strchrnul()

This change avoids the following building error:

external/mesa/src/gallium/drivers/radeonsi/si_shader.c:3863: error:
undefined reference to 'strchrnul'
collect2: error: ld returned 1 exit status

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/radeonsi/si_shader.c