Resolve warnings in VC-WIN32 build, which allows to add /WX.
[openssl.git] / crypto / rand / randfile.c
index d024f69fe64ac56b562faf6a8b9e9e199d7a4a13..d4edc50b267ec6821696e8118525d0e05d3029bf 100644 (file)
@@ -25,6 +25,9 @@
 #ifndef OPENSSL_NO_POSIX_IO
 # include <sys/stat.h>
 # include <fcntl.h>
+# ifdef _WIN32
+#  include <io.h>
+# endif
 #endif
 
 /*