summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-11-03 16:43:53 +0000
committerAndy Polyakov <appro@openssl.org>2005-11-03 16:43:53 +0000
commit474b8a9716b184176e385d7c31f83ba78da5a21b (patch)
tree7d98f30e89720f446b444cfcc7595c5f2dd8613d /e_os.h
parent53261831f150268f901069f1340791f19ece2fe3 (diff)
downloadopenssl-new-474b8a9716b184176e385d7c31f83ba78da5a21b.tar.gz
Make cygwin work in directories mounted with 'text' attribute.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index 5068d1bd74..25e9e625f0 100644
--- a/e_os.h
+++ b/e_os.h
@@ -408,6 +408,10 @@ static unsigned int _strlen31(const char *str)
# define setvbuf(a, b, c, d) setbuffer((a), (b), (d))
typedef unsigned long clock_t;
# endif
+# ifdef OPENSSL_SYS_WIN32_CYGWIN
+# include <io.h>
+# include <fcntl.h>
+# endif
# define OPENSSL_CONF "openssl.cnf"
# define SSLEAY_CONF OPENSSL_CONF