diff options
Diffstat (limited to 'src/common/crypto_rand.c')
-rw-r--r-- | src/common/crypto_rand.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/crypto_rand.c b/src/common/crypto_rand.c index 5abf0b0968..df2e2f65d3 100644 --- a/src/common/crypto_rand.c +++ b/src/common/crypto_rand.c @@ -55,6 +55,12 @@ ENABLE_GCC_WARNING(redundant-decls) #ifdef HAVE_UNISTD_H #include <unistd.h> #endif +#ifdef HAVE_SYS_SYSCALL_H +#include <sys/syscall.h> +#endif +#ifdef HAVE_SYS_RANDOM_H +#include <sys/random.h> +#endif /** * How many bytes of entropy we add at once. |