1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/vietnamese/vnterm/files/patch-01
David E. O'Brien e0dead1af6 vnxterm is a xterm replacement with Vietnamese VIQR 1.1 (7-bit VIetnamese
Quoted Readable/Viet-Net) support.  This version of cxterm is derived from the
X11R5 xterm, and thus has simular capabilities.
1996-12-06 12:33:53 +00:00

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");
}