aboutsummaryrefslogtreecommitdiffstats
path: root/src/broadcom/qpu
diff options
context:
space:
mode:
authorJose Maria Casanova Crespo <[email protected]>2019-10-30 19:35:09 +0100
committerJose Maria Casanova Crespo <[email protected]>2020-02-06 18:31:13 +0100
commit68bb26af63acad6a42dd5c4d653c61917a69127e (patch)
treea2d5e8155fc3d0a2ee4d5975de46c18fcad1508d /src/broadcom/qpu
parentce23911b77b026ee1894e012f0249d827047bac6 (diff)
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 <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2554> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2554>
Diffstat (limited to 'src/broadcom/qpu')
-rw-r--r--src/broadcom/qpu/qpu_pack.c1
1 files changed, 1 insertions, 0 deletions
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 <string.h>
#include "util/macros.h"
+#include "util/bitscan.h"
#include "broadcom/common/v3d_device_info.h"
#include "qpu_instr.h"