summaryrefslogtreecommitdiff
path: root/devel/mkcmd/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mkcmd/patches/patch-ac')
-rw-r--r--devel/mkcmd/patches/patch-ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/mkcmd/patches/patch-ac b/devel/mkcmd/patches/patch-ac
new file mode 100644
index 00000000000..3e1b5021a4e
--- /dev/null
+++ b/devel/mkcmd/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2004/11/10 16:43:50 epg Exp $
+
+--- bin/mkcmd/emit.c.orig 2000-07-30 17:56:23.000000000 -0400
++++ bin/mkcmd/emit.c
+@@ -27,14 +27,6 @@
+ #include <string.h>
+ #endif
+
+-#if USE_MALLOC_H
+-#include <malloc.h>
+-#else
+-#if NEED_MALLOC_EXTERN
+-extern char *malloc(), *calloc(), *realloc();
+-#endif
+-#endif
+-
+
+ ATTR
+ wEmitMask = EMIT_AUTO_IND; /* implicit emit options */