aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/rand/randfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/rand/randfile.c')
-rw-r--r--openssl/crypto/rand/randfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl/crypto/rand/randfile.c b/openssl/crypto/rand/randfile.c
index 7f1428072..14ba69d4c 100644
--- a/openssl/crypto/rand/randfile.c
+++ b/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