diff --git a/appl/ftp/ftp/ftp_locl.h b/appl/ftp/ftp/ftp_locl.h index 795b59587..74a7e4531 100644 --- a/appl/ftp/ftp/ftp_locl.h +++ b/appl/ftp/ftp/ftp_locl.h @@ -59,7 +59,7 @@ extern char *optarg; #endif #ifdef NEED_OPTIND_DECLARATION -extern int optarg; +extern int optind; #endif #ifdef NEED_OPTERR_DECLARATION extern int opterr;