diff options
Diffstat (limited to 'src/librandom/random_makeseed.c')
| -rw-r--r-- | src/librandom/random_makeseed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librandom/random_makeseed.c b/src/librandom/random_makeseed.c index 909e896..00def5b 100644 --- a/src/librandom/random_makeseed.c +++ b/src/librandom/random_makeseed.c @@ -1,6 +1,7 @@ /* ISC license. */ #include <unistd.h> +#include <stdint.h> #include <skalibs/uint32.h> #include <skalibs/tai.h> #include <skalibs/sha1.h> @@ -19,7 +20,7 @@ void random_makeseed (char *s) { tain_t now ; char tmp[256] ; - uint32 x = getpid() ; + uint32_t x = getpid() ; uint32_pack(tmp, x) ; x = getppid() ; uint32_pack(tmp + 4, x) ; |
