--- a/client/getpasswd.c +++ a/client/getpasswd.c @@ -136,7 +136,7 @@ getpasswd(const char *prompt, int fd) #ifndef WIN32 sigset_t sig, old_sig; struct termios ts; - int old_c_lflag; + tcflag_t old_c_lflag; #else /* Force stdin on windows. */ fd = 0;