aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2025-01-09 19:30:41 +0100
committerFlorian Weimer <fweimer@redhat.com>2025-01-09 19:30:41 +0100
commit9b71570c465a38cc19c3362526048c7dcfc999e6 (patch)
tree3ed5e962d00e093099acab5ae3519a7c4471e675
parent7a3e2e877a70153a6d1b786925b34f3b396e20f1 (diff)
downloadglibc-9b71570c465a38cc19c3362526048c7dcfc999e6.zip
glibc-9b71570c465a38cc19c3362526048c7dcfc999e6.tar.gz
glibc-9b71570c465a38cc19c3362526048c7dcfc999e6.tar.bz2
x86: Add missing #include <features.h> to <thread_pointer.h>
It is required for __GNUC_PREREQ. Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
-rw-r--r--sysdeps/x86/thread_pointer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86/thread_pointer.h b/sysdeps/x86/thread_pointer.h
index 4c02c8d..c1746d3 100644
--- a/sysdeps/x86/thread_pointer.h
+++ b/sysdeps/x86/thread_pointer.h
@@ -19,6 +19,8 @@
#ifndef _SYS_THREAD_POINTER_H
#define _SYS_THREAD_POINTER_H
+#include <features.h>
+
static inline void *
__thread_pointer (void)
{