about summary refs log tree commit diff
path: root/sysdeps/x86/get-isa-level.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-01-14 11:18:21 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-01-14 16:04:05 -0300
commitd18f59bf9223e9342be16baa2411ef3acc3f7ea4 (patch)
tree274d156cfe8d8270901cb97ac55cd3caa7fdb7cd /sysdeps/x86/get-isa-level.h
parent7137d682ebfcb6db5dfc5f39724718699922f06c (diff)
downloadglibc-d18f59bf9223e9342be16baa2411ef3acc3f7ea4.tar.gz
glibc-d18f59bf9223e9342be16baa2411ef3acc3f7ea4.tar.xz
glibc-d18f59bf9223e9342be16baa2411ef3acc3f7ea4.zip
Fix x86 build with --enable-tunable=no
Checked on x86_64-linux-gnu.
Diffstat (limited to 'sysdeps/x86/get-isa-level.h')
-rw-r--r--sysdeps/x86/get-isa-level.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/get-isa-level.h b/sysdeps/x86/get-isa-level.h
index a86e1e8941..3f0e27ee59 100644
--- a/sysdeps/x86/get-isa-level.h
+++ b/sysdeps/x86/get-isa-level.h
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <elf.h>
 #include <sys/platform/x86.h>
 
 /* Get GNU_PROPERTY_X86_ISA_1_BASELINE and GNU_PROPERTY_X86_ISA_1_V[234]