Made things compile with socks5-v1.0r1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1748 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,10 +45,6 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#ifdef HAVE_PWD_H
|
||||
@@ -123,6 +119,11 @@
|
||||
|
||||
#include <err.h>
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
extern int LIBPREFIX(fclose) __P((FILE *));
|
||||
#endif
|
||||
|
||||
#include "ftp_var.h"
|
||||
#include "extern.h"
|
||||
#include "common.h"
|
||||
|
@@ -36,10 +36,6 @@
|
||||
RCSID("$Id$");
|
||||
#endif
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* FTP server.
|
||||
*/
|
||||
@@ -141,6 +137,11 @@ RCSID("$Id$");
|
||||
|
||||
#include <otp.h>
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
extern int LIBPREFIX(fclose) __P((FILE *));
|
||||
#endif
|
||||
|
||||
void yyparse();
|
||||
|
||||
#ifndef LOG_FTP
|
||||
|
@@ -42,10 +42,6 @@
|
||||
#include "config.h"
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
@@ -109,6 +105,10 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xauth.h>
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <krb.h>
|
||||
|
||||
#include <err.h>
|
||||
|
@@ -23,10 +23,6 @@
|
||||
#define RETURN_PATH_HANDLING
|
||||
#endif
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
/* Common include files */
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -89,6 +85,10 @@
|
||||
#endif
|
||||
#include "version.h"
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <err.h>
|
||||
#include <roken.h>
|
||||
|
||||
|
@@ -52,9 +52,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -70,6 +67,10 @@ RCSID("$Id$");
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#include "encrypt.h"
|
||||
|
@@ -32,9 +32,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -45,6 +42,9 @@ RCSID("$Id$");
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#endif
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include "encrypt.h"
|
||||
#include "misc-proto.h"
|
||||
|
@@ -53,9 +53,6 @@
|
||||
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -69,6 +66,10 @@ RCSID("$Id$");
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
/*
|
||||
|
@@ -55,10 +55,6 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
#ifdef KRB4
|
||||
@@ -74,6 +70,10 @@ RCSID("$Id$");
|
||||
#include <pwd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
#include "encrypt.h"
|
||||
|
@@ -52,9 +52,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
static const char *error_message(long foo)
|
||||
{
|
||||
@@ -81,6 +78,9 @@ RCSID("$Id$");
|
||||
#endif
|
||||
#include <netdb.h>
|
||||
#include <ctype.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
/* kerberos 5 include files (ext-proto.h) will get an appropriate stdlib.h
|
||||
and string.h/strings.h */
|
||||
|
@@ -32,9 +32,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -81,6 +78,9 @@ RCSID("$Id$");
|
||||
#include <krb.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include "encrypt.h"
|
||||
#include "auth.h"
|
||||
|
@@ -32,9 +32,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -42,6 +39,10 @@ RCSID("$Id$");
|
||||
#include "auth.h"
|
||||
#include "encrypt.h"
|
||||
#include <string.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
char *RemoteHostName;
|
||||
|
@@ -45,9 +45,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -58,6 +55,9 @@ RCSID("$Id$");
|
||||
#include <sys/ioctl.h>
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
static jmp_buf env;
|
||||
|
||||
|
@@ -32,9 +32,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -81,6 +78,9 @@ RCSID("$Id$");
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include "encrypt.h"
|
||||
#include "auth.h"
|
||||
|
@@ -32,9 +32,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
RCSID("$Id$");
|
||||
|
||||
@@ -84,6 +81,10 @@ RCSID("$Id$");
|
||||
#include <string.h>
|
||||
|
||||
#include <pwd.h>
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include "encrypt.h"
|
||||
#include "auth.h"
|
||||
#include "misc.h"
|
||||
|
@@ -41,9 +41,6 @@
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@@ -63,6 +60,10 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
|
||||
#include <termios.h>
|
||||
|
||||
#ifdef HAVE_FCNTL_H
|
||||
@@ -130,6 +131,10 @@
|
||||
#include <arpa/telnet.h>
|
||||
#endif
|
||||
|
||||
#ifdef SOCKS
|
||||
#include <socks.h>
|
||||
#endif
|
||||
|
||||
#include <roken.h>
|
||||
#include <krb.h>
|
||||
|
||||
|
Reference in New Issue
Block a user