summaryrefslogtreecommitdiff
path: root/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloc.h')
-rw-r--r--malloc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/malloc.h b/malloc.h
index 448e0a8c6b..72873ea5de 100644
--- a/malloc.h
+++ b/malloc.h
@@ -1 +1,5 @@
-#include <malloc/malloc.h>
+#ifdef USE_NEW_MALLOC
+# include <new-malloc/malloc.h>
+#else
+# include <malloc/malloc.h>
+#endif