hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
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"