commit e9b9894e29151ef7084e13729b629adb9651487c
parent c99d484c0e3619be44cb21f3b9f15d04a1e703c9
Author: Quentin Rameau <quinq@fifth.space>
Date: Fri, 1 Sep 2017 10:49:52 +0200
Fix tparm usage on NetBSD
Use tiparm instead, which is the equivalent of tparm on other
implementations.
Thanks to Leonardo Taccari <iamleot@gmail.com> for the report and to
k0ga for the advice!
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/ui_ti.c b/ui_ti.c
@@ -15,6 +15,10 @@
static struct termios tsave;
static struct termios tsacc;
+#if defined(__NetBSD__)
+#undef tparm
+#define tparm tiparm
+#endif
void
uisetup(void)