diff --git a/random.c b/random.c index 75559f8..e5a61a8 100644 --- a/random.c +++ b/random.c @@ -1,6 +1,7 @@ #include #include +#include "chacha.h" #include "random.h" #include "util.h" @@ -16,8 +17,6 @@ static ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) { } #endif -#include "chacha.h" - static void get_random_seed(void *buf, size_t size) { while (size > 0) { ssize_t r;