summaryrefslogtreecommitdiffstats
path: root/entropy.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-11 11:01:51 +0200
committerDarren Tucker <dtucker@zip.com.au>2006-07-11 11:01:51 +0200
commite0e4aad1fdd8770283798eede1297f363b43498d (patch)
treeedf9a71e9292a561ee4efcdd30bf0eebfb179c64 /entropy.c
parent - (dtucker) [configure.ac ssh-keygen.c openbsd-compat/bsd-openpty.c (diff)
downloadopenssh-e0e4aad1fdd8770283798eede1297f363b43498d.tar.xz
openssh-e0e4aad1fdd8770283798eede1297f363b43498d.zip
- (dtucker) [entropy.c] More fcntl.h, this time on AIX (and probably
others).
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/entropy.c b/entropy.c
index d60583b34..b98e3c859 100644
--- a/entropy.c
+++ b/entropy.c
@@ -27,6 +27,14 @@
#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 <openssl/rand.h>
#include <openssl/crypto.h>
#include <openssl/err.h>