Bruno Haible <[email protected]> writes: > On Solaris at least, getpass() is not declared in <unistd.h> or <stdlib.h> if > __EXTENSIONS__ is not defined. This fixes the autoconf test and the use of > <unistd.h> in lib/getpass.h. > > By the way, on all systems (including glibc), getpass() is declared by > including <unistd.h>. I would propose to move its declaration in gnulib > from "getpass.h" to <unistd.h>, and to drop getpass.h. (getpass.h was > created in 2004, when we didn't have a <unistd.h> replacement.) > Objections?
Sounds good to me. I suspect getpass.h predates our system header replacement approach. /Simon
