mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
97f9ab6d19
Submitted by: David O'Brien
22 lines
475 B
Plaintext
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");
|
|
}
|