Mesa (master): broadcom: Fix implicit declaration of ffs for Android build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Feb 6 19:01:18 UTC 2020
Module: Mesa
Branch: master
Commit: 68bb26af63acad6a42dd5c4d653c61917a69127e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=68bb26af63acad6a42dd5c4d653c61917a69127e
Author: Jose Maria Casanova Crespo <jmcasanova at igalia.com>
Date: Wed Oct 30 19:35:09 2019 +0100
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 at 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 | 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 <string.h>
#include "util/macros.h"
+#include "util/bitscan.h"
#include "broadcom/common/v3d_device_info.h"
#include "qpu_instr.h"
More information about the mesa-commit
mailing list