diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-07-11 18:10:40 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-07-11 18:10:40 +0000 |
commit | 5611579110ed0c87336894a0ad1ab6fdad149644 (patch) | |
tree | a75c3d6e99a2e0b92151ce3a61c3a5b19f221a98 /cpp/src/Ice/TcpConnector.h | |
parent | Added Ice.Warn.Endpoints (diff) | |
download | ice-5611579110ed0c87336894a0ad1ab6fdad149644.tar.bz2 ice-5611579110ed0c87336894a0ad1ab6fdad149644.tar.xz ice-5611579110ed0c87336894a0ad1ab6fdad149644.zip |
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=397
Diffstat (limited to 'cpp/src/Ice/TcpConnector.h')
-rw-r--r-- | cpp/src/Ice/TcpConnector.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/TcpConnector.h b/cpp/src/Ice/TcpConnector.h index dabc651f901..96abf2d7e0c 100644 --- a/cpp/src/Ice/TcpConnector.h +++ b/cpp/src/Ice/TcpConnector.h @@ -16,7 +16,9 @@ #include <Ice/LoggerF.h> #include <Ice/Connector.h> -#ifndef _WIN32 +#ifdef _WIN32
+# include <winsock2.h>
+#else # include <netinet/in.h> // For struct sockaddr_in #endif |