summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-ao
blob: 7a7da2211ab547f09a81ebeec34a2187168d19b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ao,v 1.3 2005/12/14 13:53:24 joerg Exp $

--- tcl/strerror.c.orig	1995-02-24 21:19:50.000000000 +0000
+++ tcl/strerror.c
@@ -20,6 +20,7 @@ static char rcsid[] = "$Header: /home/ag
 #include <stdio.h>
 #include <string.h>
 
+#if !defined(BSD4_4) && !defined(__linux__) && !defined(__APPLE__) && !defined(__DragonFly__)
 /*
  * List of known errors:
  */
@@ -138,3 +139,4 @@ strerror(error)
     (void) sprintf(defaultMsg, "unknown error (%d)", error);
     return defaultMsg;
 }
+#endif