aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/ares_private.h')
-rw-r--r--ares/ares_private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 877985bc9..e138cdd21 100644
--- a/ares/ares_private.h
+++ b/ares/ares_private.h
@@ -99,6 +99,16 @@
# 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
+
struct query;
struct send_request {