pkgsrc/x11/hanterm/patches/patch-ad
fredb 13499173ec Use the FD_* macros with select(). Take a clue from XFree-3.3.6 xterm,
and make this conditional on only "#ifndef VMS".
2001-05-03 18:37:47 +00:00

22 lines
479 B
Text

$NetBSD: patch-ad,v 1.1 2001/05/03 18:37:49 fredb Exp $
--- data.h.orig Wed Feb 24 05:04:50 1999
+++ data.h
@@ -24,6 +24,8 @@
* SOFTWARE.
*/
+#include <sys/types.h>
+
extern XPoint VTbox[];
extern XPoint hVTbox[];
extern Char *bptr;
@@ -34,7 +36,7 @@
extern char *ttydev;
extern char *xterm_name;
extern Char buffer[];
-#if defined(linux) || defined(SVR4)||(defined(hpux)&&OSMAJORVERSION>=10)
+#ifndef VMS
extern fd_set Select_mask;
#else
extern int Select_mask;