X-Git-Url: https://git.syn-net.org/?p=debian%2Fuanytun.git;a=blobdiff_plain;f=src%2Fudp.c;h=239e074c35b0d672cb4e8d0c48ad7fb73b4aa23c;hp=9217688105718aef3d463b3c1b82649ceda8954c;hb=70cf739729db4c5d7f72b64207855889e57ee49a;hpb=71f6f666a3d69c6e1e7a77e238362c5bbe288e66 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;