summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-10-27 21:17:48 +0000
committerAndy Polyakov <appro@openssl.org>2012-10-27 21:17:48 +0000
commit2c7af9cb6e76deae5550e364ecc06dffae8c0096 (patch)
tree98ceb5d87529e5b70ae2c46ab44ca6be9486e3bd /e_os.h
parentfe5772e9d0b8ec75087baaff2f6cdd961b36e253 (diff)
e_os.h: skip redundant headers in fipscanister build.
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