summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls/library/entropy_poll.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-18 21:22:37 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-12-18 21:43:21 +0100
commit2872006039f77748479a2feeb3a8dcf5a0bc9d90 (patch)
treeef5d082b00fd6c27d608aec0ac2989d6a1da612f /thirdparty/mbedtls/library/entropy_poll.c
parent7ad29ed64e850fd43ba7ceb1cfaab4e015ef7b97 (diff)
mbedtls: Update to upstream version 2.16.9
Diffstat (limited to 'thirdparty/mbedtls/library/entropy_poll.c')
-rw-r--r--thirdparty/mbedtls/library/entropy_poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/mbedtls/library/entropy_poll.c b/thirdparty/mbedtls/library/entropy_poll.c
index 26b7e4e2b9..2095a7dd34 100644
--- a/thirdparty/mbedtls/library/entropy_poll.c
+++ b/thirdparty/mbedtls/library/entropy_poll.c
@@ -44,7 +44,7 @@
* **********
*/
-#if defined(__linux__)
+#if defined(__linux__) && !defined(_GNU_SOURCE)
/* Ensure that syscall() is available even when compiling with -std=c99 */
#define _GNU_SOURCE
#endif