aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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>