Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109307239
D40310.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
449 B
Referenced Files
None
Subscribers
None
D40310.diff
View Options
diff --git a/tools/test/avx_sig/avx_sig.c b/tools/test/avx_sig/avx_sig.c
--- a/tools/test/avx_sig/avx_sig.c
+++ b/tools/test/avx_sig/avx_sig.c
@@ -20,8 +20,13 @@
#include <pthread_np.h>
#endif
#ifdef __linux__
+#ifdef __GLIBC__
+#include <gnu/libc-version.h>
+#endif
+#if !defined(__GLIBC__) || (__GLIBC__ * 100 + __GLIBC_MINOR__) < 236
#include <bsd/stdlib.h>
#endif
+#endif
#include <signal.h>
#include <stdatomic.h>
#include <stdbool.h>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 4, 8:49 AM (20 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16450812
Default Alt Text
D40310.diff (449 B)
Attached To
Mode
D40310: avx_sig: Avoid libbsd dependecie for modern Glibc
Attached
Detach File
Event Timeline
Log In to Comment