aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/kterm/files/patch-main.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/japanese/kterm/files/patch-main.c b/japanese/kterm/files/patch-main.c
index e82a38037f0d..30de16b8b728 100644
--- a/japanese/kterm/files/patch-main.c
+++ b/japanese/kterm/files/patch-main.c
@@ -10,6 +10,15 @@
#include <sys/resource.h>
#endif
#ifdef sco
+@@ -236,7 +238,7 @@
+ #define HAS_UTMP_UT_HOST
+ #endif
+ #else /* } !SYSV { */ /* BSD systems */
+-#ifndef linux
++#if !defined(linux) && !defined(USE_POSIX_TERMIOS)
+ #include <sgtty.h>
+ #endif
+ #include <sys/resource.h>
@@ -1355,6 +1357,8 @@
d_tio.c_cc[VDISCARD] = CFLUSH;
d_tio.c_cc[VWERASE] = CWERASE;