summaryrefslogtreecommitdiff
path: root/shells/es/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'shells/es/patches/patch-ae')
-rw-r--r--shells/es/patches/patch-ae10
1 files changed, 5 insertions, 5 deletions
diff --git a/shells/es/patches/patch-ae b/shells/es/patches/patch-ae
index e46ac4cd935..e58daa6c0cb 100644
--- a/shells/es/patches/patch-ae
+++ b/shells/es/patches/patch-ae
@@ -1,19 +1,19 @@
-$NetBSD: patch-ae,v 1.1 2004/02/26 07:47:48 uebayasi Exp $
+$NetBSD: patch-ae,v 1.2 2005/03/10 15:18:31 tv Exp $
---- util.c 1997/10/24 14:23:46 1.1
-+++ util.c 1997/10/24 14:25:01
+--- util.c.orig 1995-05-30 07:13:52.000000000 -0400
++++ util.c
@@ -2,6 +2,10 @@
#include "es.h"
+#include <sys/param.h>
+
-+#if !(defined(BSD) && BSD >= 199306)
++#if !(defined(BSD) && BSD >= 199306) && !defined(__INTERIX)
+/* agc - just use the system strerror here */
/* strerror -- turn an error code into a string */
extern char *strerror(int n) {
extern int sys_nerr;
-@@ -10,6 +14,7 @@
+@@ -10,6 +14,7 @@ extern char *strerror(int n) {
return "unknown error";
return sys_errlist[n];
}