summaryrefslogtreecommitdiff
path: root/lib/mesa/src/util/build_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/util/build_id.h')
-rw-r--r--lib/mesa/src/util/build_id.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/util/build_id.h b/lib/mesa/src/util/build_id.h
index 86d611d8d..ba94688d2 100644
--- a/lib/mesa/src/util/build_id.h
+++ b/lib/mesa/src/util/build_id.h
@@ -24,7 +24,7 @@
#ifndef BUILD_ID_H
#define BUILD_ID_H
-#ifdef HAVE_DL_ITERATE_PHDR
+#if defined(HAVE_DL_ITERATE_PHDR) && defined(HAVE_LD_BUILD_ID)
struct build_id_note;