e_os.h: skip redundant headers in fipscanister build.
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 79c1392573405d07876caabd734a41b660a39bbc..c6c915c9187f8f35cb98a8d987a38e19fd8b862f 100644 (file)
--- 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