From 31b74f86b046a24f253c37e69243b18996d2e3bf Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 30 Aug 2014 13:11:07 +0000 Subject: fixed missing AI_ADDRCONFIG on some platforms --- src/udp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/udp.c b/src/udp.c index 9217688..239e074 100644 --- a/src/udp.c +++ b/src/udp.c @@ -65,6 +65,10 @@ #include #include +#ifndef AI_ADDRCONFIG +#define AI_ADDRCONFIG 0 +#endif + static int udp_resolv_local(udp_t* sock, const char* local_addr, const char* port, resolv_addr_type_t resolv_type, unsigned int* idx) { struct addrinfo hints, *res; -- cgit v1.2.3