summaryrefslogtreecommitdiffstats
path: root/source/tdb/tdbback.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tdb/tdbback.c')
-rw-r--r--source/tdb/tdbback.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/tdb/tdbback.c b/source/tdb/tdbback.c
index 68b6fadc882..3f5bf3891b3 100644
--- a/source/tdb/tdbback.c
+++ b/source/tdb/tdbback.c
@@ -40,6 +40,19 @@
#else
#include "includes.h"
+
+#ifdef malloc
+#undef malloc
+#endif
+
+#ifdef realloc
+#undef realloc
+#endif
+
+#ifdef calloc
+#undef calloc
+#endif
+
#endif
#include "tdb.h"