summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.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/ThreadPool.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/ThreadPool.h')
-rw-r--r--cpp/src/Ice/ThreadPool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h
index 5c2293b2a57..41578b77250 100644
--- a/cpp/src/Ice/ThreadPool.h
+++ b/cpp/src/Ice/ThreadPool.h
@@ -22,7 +22,9 @@
#include <Ice/EventHandlerF.h>
#include <list>
-#ifndef _WIN32
+#ifdef _WIN32
+# include <winsock2.h>
+#else
# define SOCKET int
#endif