diff --git a/appl/ftp/ftpd/ftpcmd.y b/appl/ftp/ftpd/ftpcmd.y index 9dab80fde..e99eb8176 100644 --- a/appl/ftp/ftpd/ftpcmd.y +++ b/appl/ftp/ftpd/ftpcmd.y @@ -49,10 +49,6 @@ RCSID("$Id$"); -#ifdef SOCKS -#include -#endif - #ifdef HAVE_SYS_TYPES_H #include #endif @@ -97,11 +93,16 @@ RCSID("$Id$"); #include #endif +#include + +#ifdef SOCKS +#include +extern int LIBPREFIX(fclose) __P((FILE *)); +#endif + #include "extern.h" #include "auth.h" -#include - off_t restart_point; static int cmd_type;