43 lines
1 KiB
Text
43 lines
1 KiB
Text
$NetBSD: patch-af,v 1.2 2012/05/04 16:38:44 joerg Exp $
|
|
|
|
--- 9term/9term.h.orig 1994-12-15 14:49:15.000000000 +0000
|
|
+++ 9term/9term.h
|
|
@@ -30,8 +30,10 @@ extern int canonical;
|
|
extern int echo;
|
|
extern int isig;
|
|
|
|
+extern void saveunixspecials(int);
|
|
extern void specialchars(int);
|
|
-extern int setenv(char *, char *, int);
|
|
+extern void O_killpg(int);
|
|
+extern void O_setenv(char *, char *, int);
|
|
extern void init_display(int *, char **, char**, char*);
|
|
#ifdef NEEDVARARG
|
|
extern void error();
|
|
@@ -58,8 +60,12 @@ extern void flushstream(void);
|
|
extern void setborder(void);
|
|
extern void ctlmsg(Event *);
|
|
|
|
+#ifndef MAX
|
|
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
|
|
+#endif
|
|
+#ifndef MIN
|
|
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
|
|
+#endif
|
|
#ifndef NULL
|
|
#define NULL ((void *)0)
|
|
#endif
|
|
@@ -69,6 +75,13 @@ extern void ctlmsg(Event *);
|
|
#define BSDPTYS
|
|
#endif
|
|
|
|
+#include <sys/param.h>
|
|
+
|
|
+#if (defined(BSD) && BSD >= 199306)
|
|
+#define POSIXPTYS
|
|
+#define BSDPTYS
|
|
+#endif
|
|
+
|
|
#ifdef __ultrix
|
|
/* Maybe only Ultrix 4.3. Joy. */
|
|
#define POSIXPTYS
|