summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/e_os.h b/e_os.h
index 79c1392573..c6c915c918 100644
--- a/e_os.h
+++ b/e_os.h
@@ -332,8 +332,10 @@ static unsigned int _strlen31(const char *str)
# endif
# endif
# endif
-# include <io.h>
-# include <fcntl.h>
+# if !defined(OPENSSL_FIPSCANISTER)
+# include <io.h>
+# include <fcntl.h>
+# endif
# ifdef OPENSSL_SYS_WINCE
# define OPENSSL_NO_POSIX_IO