aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/st.c b/st.c
index ff5bb305ab..f26443f99c 100644
--- a/st.c
+++ b/st.c
@@ -73,6 +73,10 @@ static const struct st_hash_type type_strcasehash = {
static void rehash(st_table *);
#ifdef RUBY
+#undef malloc
+#undef realloc
+#undef calloc
+#undef free
#define malloc xmalloc
#define calloc xcalloc
#define realloc xrealloc