pkgsrc/converters/hztty/patches/patch-ac

35 lines
758 B
Text

$NetBSD: patch-ac,v 1.1 2005/01/19 16:11:41 tv Exp $
--- config.h.orig 2005-01-19 10:49:55.000000000 -0500
+++ config.h
@@ -28,13 +28,16 @@
# define USE_SYS_UTMP
# define USE_TERMIOS
# define SYSV
-# ifndef sgi
+# if !defined(sgi) && !defined(__INTERIX)
# define ATT /* no ATT for sgi */
# endif
# ifdef sun /* Solaris 2 */
# include <sys/strredir.h>
# define HAS_UTMPX
# endif
+# ifdef __INTERIX
+# define HAS_UTMPX
+# endif
#endif
#ifdef SYSV386
@@ -59,10 +62,12 @@
# define USE_SYSV_TERMIO
# ifndef _SEQUENT_
# define termio termios
+# ifndef __INTERIX
# undef TCGETA
# define TCGETA TCGETS
# undef TCSETA
# define TCSETA TCSETS
+# endif /* !__INTERIX */
# endif /* _SEQUENT_ */
#else /* USE_TERMIOS */
# ifdef SYSV