hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
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"