summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-20 16:53:58 +0200
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2012-08-20 16:54:20 +0200
commit92aab43c80cac484b5db2467b35132c55792736d (patch)
treec3936750b3f68bfe04289c4b3d89bf76f6e13cb9 /sd
parente9f3727313ee523fa0da802fa3fedb0ad6b8f20f (diff)
Include winsock2 instead of winsock for discovery.
Change-Id: I86aa527fe913ec6fc1ca566e083eadd64b4db2a5
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index 30b2131db290..69e88545745f 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.cxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx
@@ -17,7 +17,8 @@
#include "DiscoveryService.hxx"
#ifdef WIN32
- #include <winsock.h>
+ #include <winsock2.h>
+ #include <ws2tcpip.h>
typedef int socklen_t;
#else
#include <sys/types.h>