r5298: - got rid of pstring.h from includes.h. This at least makes it a bit
[bbaumbach/samba-autobuild/.git] / source4 / lib / genrand.c
index 0f1d02b71019b3b9f52dd0c9863499d0b861a882..e3df9f9d909fef6e38da15e57acec08f52989d70 100644 (file)
 
 #include "includes.h"
 #include "system/iconv.h"
+#include "system/filesys.h"
 #include "lib/crypto/crypto.h"
 
 static unsigned char hash[258];
-static uint32 counter;
+static uint32_t counter;
 
 static BOOL done_reseed = False;
 static void (*reseed_callback)(int *newseed);
@@ -147,7 +148,7 @@ static void do_filehash(const char *fname, unsigned char *the_hash)
 static int do_reseed(BOOL use_fd, int fd)
 {
        unsigned char seed_inbuf[40];
-       uint32 v1, v2; struct timeval tval; pid_t mypid;
+       uint32_t v1, v2; struct timeval tval; pid_t mypid;
        int reseed_data = 0;
 
        if (use_fd) {