From fc86080ec81c5244395eef708c7f0db25b2888c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Groenvall?= Date: Wed, 21 May 1997 09:23:00 +0000 Subject: [PATCH] Fix for socks5 git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1757 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpcmd.y | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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;