mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
e0dead1af6
Quoted Readable/Viet-Net) support. This version of cxterm is derived from the X11R5 xterm, and thus has simular capabilities.
22 lines
480 B
Plaintext
22 lines
480 B
Plaintext
--- 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");
|
|
}
|