aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/thread_pointer.h
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 /sysdeps/x86/thread_pointer.h
parent7a3e2e877a70153a6d1b786925b34f3b396e20f1 (diff)
downloadglibc-9b71570c465a38cc19c3362526048c7dcfc999e6.tar.xz
glibc-9b71570c465a38cc19c3362526048c7dcfc999e6.zip
x86: Add missing #include <features.h> to <thread_pointer.h>
It is required for __GNUC_PREREQ. Reviewed-by: Michael Jeanson <mjeanson@efficios.com>
Diffstat (limited to 'sysdeps/x86/thread_pointer.h')
-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 4c02c8daab..c1746d3fae 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)
{