e_os.h: skip redundant headers in fipscanister build.
authorAndy Polyakov <appro@openssl.org>
Sat, 27 Oct 2012 21:17:48 +0000 (21:17 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 27 Oct 2012 21:17:48 +0000 (21:17 +0000)
e_os.h

diff --git a/e_os.h b/e_os.h
index 79c1392..c6c915c 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