summaryrefslogtreecommitdiffstats
path: root/Mac/mwerks
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-11 21:16:03 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-11 21:16:03 (GMT)
commit9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0 (patch)
treec12e44689277430502086274a8cb1ab103a8d8be /Mac/mwerks
parent5e80a7579918dca87a31725e379cb3ea79e2a7a5 (diff)
downloadcpython-9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0.zip
cpython-9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0.tar.gz
cpython-9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0.tar.bz2
ANSIfication step 2: make sure all needed prototypes are available, and all needed
header files included.
Diffstat (limited to 'Mac/mwerks')
-rw-r--r--Mac/mwerks/malloc/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/mwerks/malloc/malloc.c b/Mac/mwerks/malloc/malloc.c
index 7d0fb6c..38bd32a 100644
--- a/Mac/mwerks/malloc/malloc.c
+++ b/Mac/mwerks/malloc/malloc.c
@@ -78,7 +78,9 @@ typedef u_long caddr_t;
#include <stdlib.h>
#include <string.h>
+#ifndef NULL
#define NULL 0
+#endif
static void morecore();