summaryrefslogtreecommitdiffstats
path: root/textproc/unroff/files/patch-b
blob: e3d523a72dedcc102b0b0db3898acb493398542a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./src/error.c.orig	Fri Jun  2 06:16:00 1995
+++ ./src/error.c	Sun Dec  1 16:16:18 2002
@@ -38,8 +38,10 @@
 }
 
 static char *strerr(void) {
+#ifndef BSD
     extern int sys_nerr;
     extern char *sys_errlist[];
+#endif
 
     return errno > 0 && errno < sys_nerr ?
 	sys_errlist[errno] : "unknown error";
OpenPOWER on IntegriCloud