pkgsrc/editors/mule/patches/patch-lib-src_make-docfile_c
dholland 918e692115 Adjust the amd64 patch by crosschecking the existing header for alpha.
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.
2011-12-24 17:07:07 +00:00

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 */