summaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_sock.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2007-12-03 09:02:29 +0000
committerRichard Levitte <levitte@openssl.org>2007-12-03 09:02:29 +0000
commit28f7e60d474242aebea6d964f32521e2e27eadeb (patch)
tree943564bd322c9cd3d42f1f71fe739004fe59c553 /crypto/bio/b_sock.c
parent544b82e4931294dcb9ec42655be5613f031c116c (diff)
Change submitted by Doug Kaufman. He writes:
I just compiled the 9.9-dev version from the 12022007 tarball under DJGPP. There were only 2 changes needed, one for b_sock.c, since DJGPP with WATT32 doesn't define socklen_t and one for testtsa to handle DOS style path separators. I also noted what seems to be a typographical error in ts.pod. The test suite passes. The patch is attached. Since I am in the US, I have sent notifications to the Bureau of Industry and Security and to the NSA.
Diffstat (limited to 'crypto/bio/b_sock.c')
-rw-r--r--crypto/bio/b_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c
index e4c7ee1277..4ed8aa3679 100644
--- a/crypto/bio/b_sock.c
+++ b/crypto/bio/b_sock.c
@@ -800,7 +800,7 @@ int BIO_accept(int sock, char **addr)
if (addr == NULL) goto end;
#ifdef EAI_FAMILY
-# if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_BEOS_BONE)
+# if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_BEOS_BONE) || defined(OPENSSL_SYS_MSDOS)
# define SOCKLEN_T size_t
# else
# define SOCKLEN_T socklen_t