summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/arc4random.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/arc4random.h')
-rw-r--r--openbsd-compat/arc4random.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/arc4random.h b/openbsd-compat/arc4random.h
index 5af3a44..af2d5c1 100644
--- a/openbsd-compat/arc4random.h
+++ b/openbsd-compat/arc4random.h
@@ -23,7 +23,9 @@
* Stub functions for portability. From LibreSSL with some adaptations.
*/
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
+#endif
#include <signal.h>