From: Chad Versace Date: Wed, 13 Sep 2017 18:51:04 +0000 (-0700) Subject: util/build_id: Include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9412a4e75eded35de2281c60efc2ebe1107400f;p=mesa.git util/build_id: Include Fix the build for Android Nougat. The dladdr(3) manpage says that is required. On Linux, the build succeeded without it because build_id.c includes which includes . On Android, we must include directly. Fixes: 5c98d382 "util: Query build-id by symbol address, not library name" Reviewed-by: Matt Turner --- diff --git a/src/util/build_id.c b/src/util/build_id.c index 6280b4a54e3..536c74360ea 100644 --- a/src/util/build_id.c +++ b/src/util/build_id.c @@ -22,6 +22,7 @@ */ #ifdef HAVE_DL_ITERATE_PHDR +#include #include #include #include