diff src/ralloc.c @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents c5d627a313b1
children 341dac730539
line wrap: on
line diff
--- a/src/ralloc.c	Mon Aug 13 10:28:54 2007 +0200
+++ b/src/ralloc.c	Mon Aug 13 10:29:42 2007 +0200
@@ -38,7 +38,6 @@
 #ifdef emacs
 
 #include "lisp.h"
-#include <malloc.h>
 
 /* The important properties of this type are that 1) it's a pointer, and
    2) arithmetic on it should work as if the size of the object pointed
@@ -58,6 +57,7 @@
 
 #ifdef DOUG_LEA_MALLOC
 #define M_TOP_PAD -2
+#include <malloc.h>
 #endif
 
 #include "getpagesize.h"