Problem report and trivial fix by Jonas 'Sortie' Termansen in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00015.html
* lib/getpass.c (getpass): Port to systems lacking struct termios.
2014-08-07 Paul Eggert <eggert@cs.ucla.edu>
+ getpass: don't assume struct termios
+ Problem report and trivial fix by Jonas 'Sortie' Termansen in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00015.html
+ * lib/getpass.c (getpass): Port to systems lacking struct termios.
+
getdtablesize: fall back on sysconf (_SC_OPEN_MAX)
Problem reported by Jonas 'Sortie' Termansen in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00023.html
{
FILE *tty;
FILE *in, *out;
+# if HAVE_TCGETATTR
struct termios s, t;
+# endif
bool tty_changed = false;
static char *buf;
static size_t bufsize;