From f9412a4e75eded35de2281c60efc2ebe1107400f Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Wed, 13 Sep 2017 11:51:04 -0700 Subject: [PATCH] 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 --- src/util/build_id.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2