blob: 2d21ae8a23fe122218cbe4c63e73570cade15b0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- misc.c.orig Fri Jul 16 10:17:56 1993
+++ misc.c Sun Nov 24 18:29:09 1996
@@ -34,6 +34,7 @@
#include <ctype.h>
#include <pwd.h>
#include <errno.h>
+#include <sys/param.h>
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
@@ -776,8 +777,10 @@
char *SysErrorMsg (n)
int n;
{
+#if !((defined(BSD) && (BSD >= 199103)))
extern char *sys_errlist[];
extern int sys_nerr;
+#endif
return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
}
|