summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-06-18 16:23:42 +0000
committerTiago Cunha <tcunha@gmx.com>2012-06-18 16:23:42 +0000
commit202c04414cd66a44878532ca2ef1844e3dc8b661 (patch)
treed17ac91d6c3e2c540c5ee13d20ff967abcf07b6d /client.c
parentbc475963131130d6edd617b7dec6e955c0964548 (diff)
More ifdef goo is needed due to NOKERNINFO.
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 04b8317c..ec3ee41f 100644
--- a/client.c
+++ b/client.c
@@ -246,7 +246,9 @@ client_main(int argc, char **argv, int flags)
cfmakeraw(&tio);
tio.c_iflag = ICRNL|IXANY;
tio.c_oflag = OPOST|ONLCR;
+#ifdef NOKERNINFO
tio.c_lflag = NOKERNINFO;
+#endif
tio.c_cflag = CREAD|CS8|HUPCL;
tio.c_cc[VMIN] = 1;
tio.c_cc[VTIME] = 0;