broadcom: Fix implicit declaration of ffs for Android build
authorJose Maria Casanova Crespo <jmcasanova@igalia.com>
Wed, 30 Oct 2019 18:35:09 +0000 (19:35 +0100)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Thu, 6 Feb 2020 17:31:13 +0000 (18:31 +0100)
commit68bb26af63acad6a42dd5c4d653c61917a69127e
treea2d5e8155fc3d0a2ee4d5975de46c18fcad1508d
parentce23911b77b026ee1894e012f0249d827047bac6
broadcom: Fix implicit declaration of ffs for Android build

Include util/bitscan.h to ensure ffs is available when there is no
glibc like in Android.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1983
Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2554>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2554>
src/broadcom/qpu/qpu_pack.c