summaryrefslogtreecommitdiff
path: root/editors/emacs20/patches/patch-bm
blob: cfb2186157793ce421ba2be412556c9da50794f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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))