From: Jose Maria Casanova Crespo Date: Wed, 30 Oct 2019 18:35:09 +0000 (+0100) Subject: broadcom: Fix implicit declaration of ffs for Android build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68bb26af63acad6a42dd5c4d653c61917a69127e;p=mesa.git 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 Tested-by: Marge Bot Part-of: --- diff --git a/src/broadcom/qpu/qpu_pack.c b/src/broadcom/qpu/qpu_pack.c index 6942342740c..e70daf55a9f 100644 --- a/src/broadcom/qpu/qpu_pack.c +++ b/src/broadcom/qpu/qpu_pack.c @@ -23,6 +23,7 @@ #include #include "util/macros.h" +#include "util/bitscan.h" #include "broadcom/common/v3d_device_info.h" #include "qpu_instr.h"