aboutsummaryrefslogtreecommitdiff
path: root/net/udpsend~.c
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-11-22 04:50:10 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-11-22 04:50:10 +0000
commitf34aa70f434e35990d6236304b7ee5bd3671b317 (patch)
treed99170e125717399c2f65818710bd40b8dcae182 /net/udpsend~.c
parent1d1a2b7f9ccd2bd6975d5a30557d0be284b18314 (diff)
include ifaddrs.h for mac, for getifaddrs() and freeifaddrs()
svn path=/trunk/externals/mrpeach/; revision=14473
Diffstat (limited to 'net/udpsend~.c')
-rw-r--r--net/udpsend~.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/udpsend~.c b/net/udpsend~.c
index c452034..2c56d8c 100644
--- a/net/udpsend~.c
+++ b/net/udpsend~.c
@@ -56,6 +56,9 @@
#include <pthread.h>
#define SOCKET_ERROR -1
#endif
+#ifdef __APPLE__
+#include <ifaddrs.h>
+#endif
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>