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>
This commit is contained in:
Jose Maria Casanova Crespo 2019-10-30 19:35:09 +01:00
parent ce23911b77
commit 68bb26af63
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#include <string.h>
#include "util/macros.h"
#include "util/bitscan.h"
#include "broadcom/common/v3d_device_info.h"
#include "qpu_instr.h"