From 30e8b186b4c6c58883486cbe27a8023848edbbdb Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 5 Feb 2009 23:37:37 +0100 Subject: agetty: check for termios.c_line struct member by autoconf Reported-by: Robert Millan Signed-off-by: Karel Zak --- login-utils/agetty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login-utils/agetty.c') diff --git a/login-utils/agetty.c b/login-utils/agetty.c index 3b6de7178..29ce14990 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; -- cgit v1.2.3-55-g7522