blob: 37f150a262a34953b4447d0827a4af514b3b69d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$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)
|