From 68bb26af63acad6a42dd5c4d653c61917a69127e Mon Sep 17 00:00:00 2001 From: Jose Maria Casanova Crespo Date: Wed, 30 Oct 2019 19:35:09 +0100 Subject: [PATCH] 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: --- src/broadcom/qpu/qpu_pack.c | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2