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