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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/unbound/compat/arc4random.c b/external/unbound/compat/arc4random.c
index 27a626b7b..2c859f184 100644
--- a/external/unbound/compat/arc4random.c
+++ b/external/unbound/compat/arc4random.c
@@ -26,7 +26,9 @@
#include <fcntl.h>
#include <limits.h>
#include <signal.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include <unistd.h>