summaryrefslogtreecommitdiff
path: root/src/malloc/oldmalloc
diff options
context:
space:
mode:
Diffstat (limited to 'src/malloc/oldmalloc')
-rw-r--r--src/malloc/oldmalloc/malloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/malloc/oldmalloc/malloc.c b/src/malloc/oldmalloc/malloc.c
index c0997ad8..0c082bce 100644
--- a/src/malloc/oldmalloc/malloc.c
+++ b/src/malloc/oldmalloc/malloc.c
@@ -10,6 +10,10 @@
#include "pthread_impl.h"
#include "malloc_impl.h"
+#define malloc __libc_malloc
+#define realloc __libc_realloc
+#define free __libc_free
+
#if defined(__GNUC__) && defined(__PIC__)
#define inline inline __attribute__((always_inline))
#endif