$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 #if USE_STRINGS @@ -47,14 +45,6 @@ extern int errno; #include #endif -#if USE_MALLOC_H -#include -#else -#if NEED_MALLOC_EXTERN -extern char *malloc(), *calloc(), *realloc(); -#endif -#endif - /* from std_version.m */ /* from std_help.m */ /* from scan.m */