diff options
author | Raymond Hettinger <python@rcn.com> | 2004-08-03 08:52:46 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-08-03 08:52:46 (GMT) |
commit | cbcff93d49ad45a6bbdc331c0596ee4b5631dfe4 (patch) | |
tree | f5662d148566ee8a01330ac2fd020acc5a82c0a0 /Modules | |
parent | a41276956d9c269f42dd9d57561475160fe22031 (diff) | |
download | cpython-cbcff93d49ad45a6bbdc331c0596ee4b5631dfe4.zip cpython-cbcff93d49ad45a6bbdc331c0596ee4b5631dfe4.tar.gz cpython-cbcff93d49ad45a6bbdc331c0596ee4b5631dfe4.tar.bz2 |
Restore compilation on MSVC++ 6.0
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/socketmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 757dcc6..30159d2 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -281,6 +281,10 @@ int h_errno; /* not used */ #include "addrinfo.h" #endif +#if defined(_MSC_VER) && _MSC_VER == 1200 +#include "addrinfo.h" +#endif + #ifndef HAVE_INET_PTON int inet_pton(int af, const char *src, void *dst); const char *inet_ntop(int af, const void *src, char *dst, socklen_t size); |