aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 47ec4022f..98fd83701 100644
--- a/ares/ares_private.h
+++ b/ares/ares_private.h
@@ -164,5 +164,9 @@ int ares__read_line(FILE *fp, char **buf, int *bufsize);
libcurl lowlevel code from within library is ugly and only works when
c-ares is built and linked with a similarly debug-build libcurl, but we do
this anyway for convenience. */
+#ifndef CURL_EXTERN
+/* ugly hack to make this compile */
+#define CURL_EXTERN
+#endif
#include "../lib/memdebug.h"
#endif