pkgsrc/editors/emacs20/patches/patch-bm

19 lines
545 B
Text

$NetBSD: patch-bm,v 1.1.1.1 2003/04/11 00:31:45 uebayasi Exp $
--- ./src/alloc.c.orig Thu Sep 16 00:20:15 1999
+++ ./src/alloc.c Tue Sep 26 11:54:24 2000
@@ -53,12 +53,13 @@
#if defined (__STDC__) && __STDC__
#include <stddef.h>
+#include <malloc.h>
#define __malloc_size_t size_t
#else
#define __malloc_size_t unsigned int
#endif
extern __malloc_size_t _bytes_used;
-extern int __malloc_extra_blocks;
+extern __malloc_size_t __malloc_extra_blocks;
#endif /* !defined(DOUG_LEA_MALLOC) */
#define max(A,B) ((A) > (B) ? (A) : (B))