summaryrefslogtreecommitdiff
path: root/chat/icb/patches/patch-bo
blob: 4cd3b37462b8fdadb3dac89982f68ec990ca1c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-bo,v 1.3 2012/02/16 14:13:15 hans 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__) && !defined(__sun)
 /*
  * List of known errors:
  */
@@ -138,3 +139,4 @@
     (void) sprintf(defaultMsg, "unknown error (%d)", error);
     return defaultMsg;
 }
+#endif