summaryrefslogtreecommitdiffstats
path: root/ssh-rand-helper.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 04:02:36 +0100
committerDamien Miller <djm@mindrot.org>2006-03-15 04:02:36 +0100
commit3717cdac6087c3e5a0df0def4d3c41694e1b55fe (patch)
tree4855831f47a8aca3c451335655e42a0ac27c0cd4 /ssh-rand-helper.c
parent - (djm) [openbsd-compat/sha2.h] Avoid include macro clash with (diff)
downloadopenssh-3717cdac6087c3e5a0df0def4d3c41694e1b55fe.tar.xz
openssh-3717cdac6087c3e5a0df0def4d3c41694e1b55fe.zip
- (djm) [ssh-rand-helper.c] Needs a bunch of headers
Diffstat (limited to 'ssh-rand-helper.c')
-rw-r--r--ssh-rand-helper.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/ssh-rand-helper.c b/ssh-rand-helper.c
index 87e52cf75..d6e631317 100644
--- a/ssh-rand-helper.c
+++ b/ssh-rand-helper.c
@@ -24,6 +24,17 @@
#include "includes.h"
+#include <sys/types.h>
+#include <sys/resource.h>
+#include <sys/stat.h>
+#include <sys/wait.h>
+
+#ifdef HAVE_SYS_UN_H
+# include <sys/un.h>
+#endif
+
+#include <signal.h>
+
#include <openssl/rand.h>
#include <openssl/sha.h>
#include <openssl/crypto.h>
@@ -39,7 +50,7 @@
#include "pathnames.h"
#include "log.h"
-RCSID("$Id: ssh-rand-helper.c,v 1.26 2005/07/17 07:26:44 djm Exp $");
+RCSID("$Id: ssh-rand-helper.c,v 1.27 2006/03/15 03:02:36 djm Exp $");
/* Number of bytes we write out */
#define OUTPUT_SEED_SIZE 48