hc
2023-12-04 f33f61bdb7ca6d5ebe7a78f9d8694b91360279ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/library/entropy_poll.c b/library/entropy_poll.c
index 4556f88..5248a25 100644
--- a/library/entropy_poll.c
+++ b/library/entropy_poll.c
@@ -21,8 +21,10 @@
 
 #if defined(__linux__)
 /* Ensure that syscall() is available even when compiling with -std=c99 */
+#if !defined(_GNU_SOURCE)
 #define _GNU_SOURCE
 #endif
+#endif
 
 #if !defined(MBEDTLS_CONFIG_FILE)
 #include "mbedtls/config.h"