summaryrefslogtreecommitdiff
path: root/x11/hanterm/patches/patch-ae
blob: ed7110e97f0cad108739d088ca9be5c2cf414c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.2 2005/12/04 01:10:33 joerg Exp $

--- main.c.orig	2002-01-09 00:41:11.000000000 +0000
+++ main.c
@@ -1527,7 +1527,8 @@ char **argv;
 	if (ioctl (pty, FIONBIO, (char *)&mode) == -1) SysError (ERROR_FIONBIO);
 #endif	/* USE_SYSV_TERMIO */
 	
-#if defined(linux)||defined(SVR4)||(defined(hpux)&&OSMAJORVERSION>=10)
+
+#ifndef VMS
 	pty_mask = pty;
 	X_mask = Xsocket;
 	FD_ZERO(&Select_mask);
@@ -3332,7 +3333,6 @@ static SIGNAL_T reapchild (n)
 consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9)
 char *fmt;
 {
-	extern int errno;
 	extern char *SysErrorMsg();
 	int oerrno;
 	int f;