summaryrefslogtreecommitdiff
path: root/devel/mkcmd/patches/patch-aa
blob: 030dd0c761fa0a694adb95a88d32c3d01d09df09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.1.1.1 2004/11/10 00:46:04 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