diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2010-11-22 04:50:10 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2010-11-22 04:50:10 +0000 |
commit | f34aa70f434e35990d6236304b7ee5bd3671b317 (patch) | |
tree | d99170e125717399c2f65818710bd40b8dcae182 | |
parent | 1d1a2b7f9ccd2bd6975d5a30557d0be284b18314 (diff) |
include ifaddrs.h for mac, for getifaddrs() and freeifaddrs()
svn path=/trunk/externals/mrpeach/; revision=14473
-rw-r--r-- | net/udpsend~.c | 3 |
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> |