summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index 071cee777e9..2faa42e8296 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -81,7 +81,8 @@ static int extra_bytes;
#ifdef HAVE_MALLOC_H
# include <malloc.h>
-#else
+#endif
+#ifndef DOUG_LEA_MALLOC
extern void *(*__morecore) (ptrdiff_t);
#endif