Imported Upstream version 0.3.6
[debian/uanytun.git] / src / udp.c
index 9217688..239e074 100644 (file)
--- a/src/udp.c
+++ b/src/udp.c
 #include <arpa/inet.h>
 #include <netinet/in.h>
 
+#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;