* src/vm-limit.c (__MALLOC_HOOK_VOLATILE, __morecore)
(__after_morecore_hook):
* src/ralloc.c (__morecore):
Declare if DOUG_LEA_MALLOC is not defined, not if HAVE_MALLOC_H is
not defined. <malloc.h> does not declare these in AIX 7.1.
#ifdef HAVE_MALLOC_H
# include <malloc.h>
-#else
+#endif
+#ifndef DOUG_LEA_MALLOC
extern void *(*__morecore) (ptrdiff_t);
#endif
#ifdef HAVE_MALLOC_H
# include <malloc.h>
#endif
-#ifndef HAVE_MALLOC_H
+#ifndef DOUG_LEA_MALLOC
# ifndef __MALLOC_HOOK_VOLATILE
# define __MALLOC_HOOK_VOLATILE volatile
# endif