pkgsrc-ng/editors/mule/patches/patch-src_ralloc_c
2013-09-26 17:14:40 +02:00

25 lines
552 B
Plaintext

$NetBSD: patch-src_ralloc_c,v 1.1 2011/12/24 17:07:07 dholland Exp $
- use standard headers
--- src/ralloc.c~ 1993-11-18 09:23:35.000000000 +0000
+++ src/ralloc.c
@@ -25,6 +25,8 @@ the Free Software Foundation, 675 Mass A
#ifdef emacs
+#include <stdlib.h>
+#include <string.h>
#include <config.h>
#include "lisp.h" /* Needed for VALBITS. */
@@ -66,7 +68,7 @@ typedef size_t SIZE;
typedef void *POINTER;
#include <unistd.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#define safe_bcopy(x, y, z) memmove (y, x, z)