[PATCH v2 2/3] x86: Add missing #include <features.h> to <thread_pointer.h>
Florian Weimer
fweimer@redhat.com
Tue Jan 7 18:40:20 GMT 2025
It is required for __GNUC_PREREQ.
---
sysdeps/x86/thread_pointer.h | 2 ++
1 file changed, 2 insertions(+)
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)
{
--
2.47.1
More information about the Libc-alpha
mailing list