]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix x86 build with --enable-tunable=no
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 14 Jan 2021 14:18:21 +0000 (11:18 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 14 Jan 2021 19:04:05 +0000 (16:04 -0300)
Checked on x86_64-linux-gnu.

sysdeps/x86/get-isa-level.h
sysdeps/x86_64/dl-hwcaps-subdirs.c

index a86e1e8941cc8f65e83b47ead6872fc823db8e16..3f0e27ee599c975713ecdcb7f10c385ffd456681 100644 (file)
@@ -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]
index e030534f1bb28196846398463e7e257025ce3c31..4acd343183813b25241234a437b7dc1f3b06e828 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <dl-hwcaps.h>
 #include <cpu-features.h>
+#include <ldsodefs.h>
 #include <get-isa-level.h>
 
 const char _dl_hwcaps_subdirs[] = "x86-64-v4:x86-64-v3:x86-64-v2";