diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-07-23 22:25:44 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-07-23 22:26:20 +1000 |
commit | 9634ffbf29b3c2493e69d10b37077b09a8cbf5ff (patch) | |
tree | 74f29fc321cd0dc93abf18626e083d53e1a0fd01 /entropy.c | |
parent | 2ea60312e1c08dea88982fec68244f89a40912ff (diff) |
Add headers to prevent warnings w/out OpenSSL.
Diffstat (limited to 'entropy.c')
-rw-r--r-- | entropy.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,6 +39,7 @@ #include <errno.h> #include <signal.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include <stddef.h> /* for offsetof */ @@ -248,6 +249,9 @@ seed_rng(void) #else /* WITH_OPENSSL */ +#include <stdlib.h> +#include <string.h> + /* Acutal initialisation is handled in arc4random() */ void seed_rng(void) |