Submitted upstream at: http://lists.gnu.org/archive/html/bug-inetutils/2016-10/msg00000.html diff -u -r ../inetutils-1.9.4/ftp/cmds.c ./ftp/cmds.c --- ../inetutils-1.9.4/ftp/cmds.c 2015-06-09 03:41:47.000000000 -0400 +++ ./ftp/cmds.c 2016-10-22 08:13:16.282265064 -0400 @@ -1721,6 +1721,9 @@ void user (int argc, char **argv) { +# if !HAVE_DECL_GETPASS + extern char *getpass (); +# endif char acct[80]; int n, aflag = 0; @@ -2070,6 +2073,9 @@ void account (int argc, char **argv) { +# if !HAVE_DECL_GETPASS + extern char *getpass (); +# endif char acct[50], *ap; if (argc > 1) diff -u -r ../inetutils-1.9.4/ftp/ftp.c ./ftp/ftp.c --- ../inetutils-1.9.4/ftp/ftp.c 2015-03-31 11:40:47.000000000 -0400 +++ ./ftp/ftp.c 2016-10-22 08:13:37.005945253 -0400 @@ -292,6 +292,9 @@ int login (char *host) { +# if !HAVE_DECL_GETPASS + extern char *getpass (); +# endif char tmp[80]; char *user, *pass, *acct; int n, aflag = 0;