summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpConnector.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-07-11 18:10:40 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-07-11 18:10:40 +0000
commit5611579110ed0c87336894a0ad1ab6fdad149644 (patch)
treea75c3d6e99a2e0b92151ce3a61c3a5b19f221a98 /cpp/src/Ice/TcpConnector.h
parentAdded Ice.Warn.Endpoints (diff)
downloadice-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.h4
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