summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/stdlib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 1f0b19b0a..8448ba8c6 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -845,6 +845,12 @@ extern int getloadavg (double __loadavg[], int __nelem)
__THROW __nonnull ((1));
#endif
+#ifdef __UCLIBC_HAS_ARC4RANDOM__
+extern u_int32_t arc4random(void);
+extern void arc4random_stir(void);
+extern void arc4random_addrandom(unsigned char *, int);
+#endif
+
#endif /* don't just need malloc and calloc */
#undef __need_malloc_and_calloc