summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/build_id.c1
1 files changed, 1 insertions, 0 deletions
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 <dlfcn.h>
#include <link.h>
#include <stddef.h>
#include <string.h>