diff options
author | Karel Zak <kzak@redhat.com> | 2009-02-05 23:37:37 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2009-02-05 23:37:37 +0100 |
commit | 30e8b186b4c6c58883486cbe27a8023848edbbdb (patch) | |
tree | dc2d3a6d107eaefca10f6a0ba9cefacec3dd0a7b /login-utils | |
parent | 95356e8b744439336925eeb36f01399f1ee8a5e9 (diff) | |
download | util-linux-old-30e8b186b4c6c58883486cbe27a8023848edbbdb.tar.gz |
agetty: check for termios.c_line struct member by autoconf
Reported-by: Robert Millan <rmh@aybabtu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/agetty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/agetty.c b/login-utils/agetty.c index 3b6de717..29ce1499 100644 --- a/login-utils/agetty.c +++ b/login-utils/agetty.c @@ -715,7 +715,7 @@ termio_init(tp, speed, op) } tp->c_iflag = tp->c_lflag = tp->c_oflag = 0; -#ifndef __GNU__ +#ifdef HAVE_STRUCT_TERMIOS_C_LINE tp->c_line = 0; #endif tp->c_cc[VMIN] = 1; |