diff options
Diffstat (limited to 'acountry.c')
-rw-r--r-- | acountry.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -60,6 +60,21 @@ #include "inet_net_pton.h" #include "inet_ntop.h" +#ifndef HAVE_STRDUP +# include "ares_strdup.h" +# define strdup(ptr) ares_strdup(ptr) +#endif + +#ifndef HAVE_STRCASECMP +# include "ares_strcasecmp.h" +# define strcasecmp(p1,p2) ares_strcasecmp(p1,p2) +#endif + +#ifndef HAVE_STRNCASECMP +# include "ares_strcasecmp.h" +# define strncasecmp(p1,p2,n) ares_strncasecmp(p1,p2,n) +#endif + #ifndef INADDR_NONE #define INADDR_NONE 0xffffffff #endif |