summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-bo
blob: dfac19857cc3a9f34e2151a53080894e38b1abeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-bo,v 1.2 2008/12/17 02:19:59 christos Exp $

--- tcl/strerror.c.orig	1995-02-24 16:19:50.000000000 -0500
+++ tcl/strerror.c	2008-12-16 20:18:00.000000000 -0500
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <string.h>
 
+#if !defined(BSD4_4) && !defined(__linux__) && !defined(__APPLE__) && !defined(__DragonFly__)
 /*
  * List of known errors:
  */
@@ -138,3 +139,4 @@
     (void) sprintf(defaultMsg, "unknown error (%d)", error);
     return defaultMsg;
 }
+#endif