918e692115
Patch extensive use of malloc and alloca without <stdlib.h> and some other stuff that showed up in the build log. Still crashes in temacs but it's getting much farther.
15 lines
377 B
Text
15 lines
377 B
Text
$NetBSD: patch-lib-src_make-docfile_c,v 1.1 2011/12/24 17:07:07 dholland Exp $
|
|
|
|
- use standard headers
|
|
|
|
--- lib-src/make-docfile.c~ 1994-05-19 21:04:35.000000000 +0000
|
|
+++ lib-src/make-docfile.c
|
|
@@ -32,6 +32,8 @@ the Free Software Foundation, 675 Mass A
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
+#include <string.h>
|
|
#ifdef MSDOS
|
|
#include <fcntl.h>
|
|
#endif /* MSDOS */
|