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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 38269b028..877985bc9 100644
--- a/ares/ares_private.h
+++ b/ares/ares_private.h
@@ -94,6 +94,11 @@
#include "ares_ipv6.h"
#include "ares_llist.h"
+#ifndef HAVE_STRDUP
+# include "ares_strdup.h"
+# define strdup(ptr) ares_strdup(ptr)
+#endif
+
struct query;
struct send_request {