aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-08-03 02:07:25 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-08-03 02:07:25 +0000
commite99f5bfbc901ba43ddc18b147653091a0de7ef95 (patch)
treea4e9630fe698b3355a94a9fabea17ebe583bf116
parent33e740e227e5cff99a3a45e0e3aab5b0d42ba8b1 (diff)
include <ws2tcpip.h> for multicast sockopts on _WIN32
svn path=/trunk/externals/mrpeach/; revision=13740
-rw-r--r--net/udpsend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/udpsend.c b/net/udpsend.c
index 114c02c..2ce6219 100644
--- a/net/udpsend.c
+++ b/net/udpsend.c
@@ -12,6 +12,7 @@
#include <string.h>
#ifdef _WIN32
#include <winsock2.h>
+#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>