#include <sys/types.h>
#include <sys/wait.h>
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+
+#ifdef HAVE_FCNTL_H
+# include <fcntl.h>
+#endif
+#include <stdarg.h>
+#include <string.h>
+#include <signal.h>
+#include <unistd.h>
+
#include <openssl/rand.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include "pathnames.h"
#include "log.h"
#include "buffer.h"
-#include "bufaux.h"
/*
* Portable OpenSSH PRNG seeding:
* XXX: we should tell the child how many bytes we need.
*/
-RCSID("$Id$");
-
#ifndef OPENSSL_PRNG_ONLY
#define RANDOM_SEED_SIZE 48
static uid_t original_uid, original_euid;