Include win headers for send/recv
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 13 Jan 2010 21:18:10 +0000 (22:18 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 13 Jan 2010 21:18:10 +0000 (22:18 +0100)
src/thread_pool_observer.cpp

index 653e42f..bafac65 100644 (file)
@@ -22,6 +22,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <unistd.h>
 #endif
 
+#ifdef WIN32
+#include <windows.h>
+#include <winsock.h>
+#endif
 #include <boost/thread/thread.hpp>
 #include <boost/thread/mutex.hpp>
 #include <boost/thread/condition.hpp>