aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/compat/arc4random.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/unbound/compat/arc4random.c')
-rw-r--r--external/unbound/compat/arc4random.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/external/unbound/compat/arc4random.c b/external/unbound/compat/arc4random.c
index 2c859f184..a09665c5d 100644
--- a/external/unbound/compat/arc4random.c
+++ b/external/unbound/compat/arc4random.c
@@ -48,6 +48,9 @@
#else /* !__GNUC__ */
#define inline
#endif /* !__GNUC__ */
+#ifndef MAP_ANON
+#define MAP_ANON MAP_ANONYMOUS
+#endif
#define KEYSZ 32
#define IVSZ 8