]> git.tdb.fi Git - libs/net.git/commitdiff
Fix windows build
authorMikko Rasa <tdb@tdb.fi>
Sat, 6 Aug 2011 20:40:22 +0000 (23:40 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 6 Aug 2011 20:40:22 +0000 (23:40 +0300)
source/clientsocket.cpp

index 10ba0b05a3bce23253aa907b4687655d290bd3c0..80303de7ea9a136aa61ce54337effb80e049d934 100644 (file)
@@ -1,4 +1,6 @@
-#ifndef WIN32
+#ifdef WIN32
+#include <winsock2.h>
+#else
 #include <cerrno>
 #include <sys/socket.h>
 #endif