summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches/patch-cb
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs20/patches/patch-cb')
-rw-r--r--editors/emacs20/patches/patch-cb13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/emacs20/patches/patch-cb b/editors/emacs20/patches/patch-cb
new file mode 100644
index 00000000000..74979cf71f3
--- /dev/null
+++ b/editors/emacs20/patches/patch-cb
@@ -0,0 +1,13 @@
+$NetBSD: patch-cb,v 1.1 2007/08/04 12:19:23 joerg Exp $
+
+--- src/alloc.c.orig 2007-08-04 11:48:13.000000000 +0000
++++ src/alloc.c
+@@ -53,7 +53,7 @@ extern char *sbrk ();
+
+ #if defined (__STDC__) && __STDC__
+ #include <stddef.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #define __malloc_size_t size_t
+ #else
+ #define __malloc_size_t unsigned int