From b998b04c025e5c7ed201c14af9f4b29f8ba3ff7a Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Sat, 11 Dec 2010 00:53:37 +0100
Subject: [PATCH] urldate: undef hideous memory defines

The public axTLS header (at least as of 1.2.7) redefines the memory
functions. We #undef those again immediately after the public header to
limit the damage. This should be fixed in axTLS.
---
 lib/urldata.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/urldata.h b/lib/urldata.h
index 47f5f79628..83b646ea5c 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -122,6 +122,9 @@
 
 #ifdef USE_AXTLS
 #include <axTLS/ssl.h>
+#undef malloc
+#undef calloc
+#undef realloc
 #endif /* USE_AXTLS */
 
 #ifdef HAVE_NETINET_IN_H
-- 
GitLab