From 71cd8e3a743046573744123777061b64881bf372 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 4 Jul 2015 17:13:50 +0300 Subject: Imported Upstream version 8.24 --- lib/getpass.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/getpass.c') diff --git a/lib/getpass.c b/lib/getpass.c index 1fee36ba..5b82cfca 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2001, 2003-2007, 2009-2014 Free Software Foundation, Inc. +/* Copyright (C) 1992-2001, 2003-2007, 2009-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -85,7 +85,9 @@ getpass (const char *prompt) { FILE *tty; FILE *in, *out; +# if HAVE_TCGETATTR struct termios s, t; +# endif bool tty_changed = false; static char *buf; static size_t bufsize; -- cgit v1.2.3