1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/chinese/cxterm/files/patch-aa
Chuck Robey 97f9ab6d19 New chinese language port, cxterm, tested and ready!
Submitted by:	David O'Brien
1996-09-17 22:51:49 +00:00

22 lines
475 B
Plaintext

--- cxterm/misc.c.orig Tue Jan 17 02:57:48 1995
+++ cxterm/misc.c Sat Aug 10 05:46:57 1996
@@ -34,6 +34,7 @@
* SOFTWARE.
*/
+#include <sys/param.h>
#include "ptyx.h" /* X headers included here. */
#include <X11/Xos.h>
@@ -796,8 +797,10 @@
char *SysErrorMsg (n)
int n;
{
+#if !(defined(BSD) && (BSD >= 199306))
extern char *sys_errlist[];
extern int sys_nerr;
+#endif
return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
}