loudmouth/lm-asyncns-resolver.c
changeset 744 4ebe32453682
parent 739 4a32df98ff8c
equal deleted inserted replaced
743:9098ee1972df 744:4ebe32453682
    19 #include <config.h>
    19 #include <config.h>
    20 
    20 
    21 #include <string.h>
    21 #include <string.h>
    22 #ifdef HAVE_ASYNCNS
    22 #ifdef HAVE_ASYNCNS
    23 #include <asyncns.h>
    23 #include <asyncns.h>
    24 #define freeaddrinfo(x) asyncns_freeaddrinfo(x)
       
    25 
    24 
    26 /* Needed on Mac OS X */
    25 /* Needed on Mac OS X */
    27 #if HAVE_ARPA_NAMESER_COMPAT_H
    26 #if HAVE_ARPA_NAMESER_COMPAT_H
    28 #include <arpa/nameser_compat.h>
    27 #include <arpa/nameser_compat.h>
    29 #endif
    28 #endif