diff options
Diffstat (limited to 'editors/mined/patches/patch-aa')
-rw-r--r-- | editors/mined/patches/patch-aa | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/editors/mined/patches/patch-aa b/editors/mined/patches/patch-aa new file mode 100644 index 00000000000..cb9d961a1f6 --- /dev/null +++ b/editors/mined/patches/patch-aa @@ -0,0 +1,33 @@ +$NetBSD: patch-aa,v 1.3 2003/07/01 15:52:37 agc Exp $ + +--- minedaux.c 2003/06/17 16:07:30 1.1 ++++ minedaux.c 2003/06/17 16:10:10 +@@ -507,6 +507,13 @@ + # include <errno.h> + # endif + ++# include <sys/types.h> ++# include <sys/param.h> ++ ++# if (defined(BSD) && BSD >= 199306) ++# include <errno.h> ++# else ++ + extern int errno; + extern int sys_nerr; + +@@ -518,13 +525,13 @@ + portability problems and wastes developers' time. + It's nothing but a nuisance. */ + extern char * sys_errlist []; ++# endif + # endif + # endif + + # endif /* #else __CYGWIN__ */ + #endif + +- + char * + serrorof (errnum) + int errnum; |