mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-09 04:18:55 -04:00
31 lines
647 B
Plaintext
31 lines
647 B
Plaintext
$NetBSD: patch-aa,v 1.2 2004/11/10 16:43:50 epg Exp $
|
|
|
|
--- bin/mkcmd/main.c.orig 2000-07-30 17:56:23.000000000 -0400
|
|
+++ bin/mkcmd/main.c
|
|
@@ -36,9 +36,7 @@ static char rcsid[] =
|
|
* do the hard work. mkcmd rembers how it was built and builds all
|
|
* subsequent parsers that way...
|
|
*/
|
|
-#if !defined(MSDOS)
|
|
-extern int errno;
|
|
-#endif
|
|
+#include <errno.h>
|
|
|
|
|
|
#if USE_STRINGS
|
|
@@ -47,14 +45,6 @@ extern int errno;
|
|
#include <string.h>
|
|
#endif
|
|
|
|
-#if USE_MALLOC_H
|
|
-#include <malloc.h>
|
|
-#else
|
|
-#if NEED_MALLOC_EXTERN
|
|
-extern char *malloc(), *calloc(), *realloc();
|
|
-#endif
|
|
-#endif
|
|
-
|
|
/* from std_version.m */
|
|
/* from std_help.m */
|
|
/* from scan.m */
|