summaryrefslogtreecommitdiff
path: root/devel/ddd/files/patch-strerror.c
blob: 47264c0c09792341f61684fb62e506fa7346b037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- libiberty/strerror.c.orig	Wed Sep  4 12:56:21 2002
+++ libiberty/strerror.c	Wed Sep  4 12:56:45 2002
@@ -454,7 +454,7 @@
    We don't export it for use in other modules because even though it has the
    same name, it differs from other implementations in that it is dynamically
    initialized rather than statically initialized. */
-
+#ifndef __FreeBSD__
 #ifndef HAVE_SYS_ERRLIST
 
 static int sys_nerr;
@@ -465,6 +465,7 @@
 extern int sys_nerr;
 extern char *sys_errlist[];
 
+#endif
 #endif