summaryrefslogtreecommitdiff
path: root/alloca.c
diff options
context:
space:
mode:
Diffstat (limited to 'alloca.c')
-rw-r--r--alloca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/alloca.c b/alloca.c
index 12c1122..31fb4e0 100644
--- a/alloca.c
+++ b/alloca.c
@@ -73,7 +73,9 @@ typedef void *pointer;
typedef char *pointer;
#endif
+#ifndef NULL
#define NULL 0
+#endif
/* Different portions of Emacs need to call different versions of
malloc. The Emacs executable needs alloca to call xmalloc, because