23 lines
728 B
Text
23 lines
728 B
Text
|
$NetBSD: patch-ai,v 1.4 2006/10/12 10:47:18 markd Exp $
|
||
|
|
||
|
--- ktalkd/mail.local/mail.local.c.orig 2005-09-10 20:20:38.000000000 +1200
|
||
|
+++ ktalkd/mail.local/mail.local.c
|
||
|
@@ -232,7 +232,7 @@ static char copyright[] =
|
||
|
# define _BSD_VA_LIST_ va_list
|
||
|
#endif
|
||
|
|
||
|
-#if !defined(BSD4_4) && !defined(linux) && !defined(_UNIXWARE)
|
||
|
+#if !defined(BSD4_4) && !defined(linux) && !defined(_UNIXWARE) && !defined(HAVE_STRERROR)
|
||
|
extern char *strerror __P((int));
|
||
|
extern FILE *fdopen __P((int, const char *));
|
||
|
#endif
|
||
|
@@ -831,7 +831,7 @@ e_to_sys(num)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-#if !defined(BSD4_4) && !defined(__osf__) && !defined(__GLIBC__)
|
||
|
+#if !defined(BSD4_4) && !defined(__osf__) && !defined(__GLIBC__) && !defined(HAVE_STRERROR)
|
||
|
|
||
|
char *
|
||
|
strerror(eno)
|