summaryrefslogtreecommitdiff
path: root/app/openssl/crypto/rand/randfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/openssl/crypto/rand/randfile.c')
-rw-r--r--app/openssl/crypto/rand/randfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/openssl/crypto/rand/randfile.c b/app/openssl/crypto/rand/randfile.c
index 7f142807..14ba69d4 100644
--- a/app/openssl/crypto/rand/randfile.c
+++ b/app/openssl/crypto/rand/randfile.c
@@ -79,6 +79,7 @@
#endif
#ifndef OPENSSL_NO_POSIX_IO
# include <sys/stat.h>
+# include <fcntl.h>
#endif
#ifdef _WIN32