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:
Björn Groenvall
1997-05-20 18:40:42 +00:00
parent a2053e93b8
commit 4b6d3e99e6
15 changed files with 61 additions and 50 deletions

View File

@@ -45,10 +45,6 @@
#include <config.h> #include <config.h>
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifdef HAVE_PWD_H #ifdef HAVE_PWD_H
@@ -123,6 +119,11 @@
#include <err.h> #include <err.h>
#ifdef SOCKS
#include <socks.h>
extern int LIBPREFIX(fclose) __P((FILE *));
#endif
#include "ftp_var.h" #include "ftp_var.h"
#include "extern.h" #include "extern.h"
#include "common.h" #include "common.h"

View File

@@ -36,10 +36,6 @@
RCSID("$Id$"); RCSID("$Id$");
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
/* /*
* FTP server. * FTP server.
*/ */
@@ -141,6 +137,11 @@ RCSID("$Id$");
#include <otp.h> #include <otp.h>
#ifdef SOCKS
#include <socks.h>
extern int LIBPREFIX(fclose) __P((FILE *));
#endif
void yyparse(); void yyparse();
#ifndef LOG_FTP #ifndef LOG_FTP

View File

@@ -42,10 +42,6 @@
#include "config.h" #include "config.h"
#endif /* HAVE_CONFIG_H */ #endif /* HAVE_CONFIG_H */
#ifdef SOCKS
#include <socks.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
@@ -109,6 +105,10 @@
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xauth.h> #include <X11/Xauth.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include <krb.h> #include <krb.h>
#include <err.h> #include <err.h>

View File

@@ -23,10 +23,6 @@
#define RETURN_PATH_HANDLING #define RETURN_PATH_HANDLING
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
/* Common include files */ /* Common include files */
#include <stdio.h> #include <stdio.h>
@@ -89,6 +85,10 @@
#endif #endif
#include "version.h" #include "version.h"
#ifdef SOCKS
#include <socks.h>
#endif
#include <err.h> #include <err.h>
#include <roken.h> #include <roken.h>

View File

@@ -52,9 +52,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -70,6 +67,10 @@ RCSID("$Id$");
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include <roken.h> #include <roken.h>
#include "encrypt.h" #include "encrypt.h"

View File

@@ -32,9 +32,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -45,6 +42,9 @@ RCSID("$Id$");
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
#include "encrypt.h" #include "encrypt.h"
#include "misc-proto.h" #include "misc-proto.h"

View File

@@ -53,9 +53,6 @@
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -69,6 +66,10 @@ RCSID("$Id$");
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include <roken.h> #include <roken.h>
/* /*

View File

@@ -55,10 +55,6 @@
#include <config.h> #include <config.h>
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
#ifdef KRB4 #ifdef KRB4
@@ -74,6 +70,10 @@ RCSID("$Id$");
#include <pwd.h> #include <pwd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include <roken.h> #include <roken.h>
#include "encrypt.h" #include "encrypt.h"

View File

@@ -52,9 +52,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
static const char *error_message(long foo) static const char *error_message(long foo)
{ {
@@ -81,6 +78,9 @@ RCSID("$Id$");
#endif #endif
#include <netdb.h> #include <netdb.h>
#include <ctype.h> #include <ctype.h>
#ifdef SOCKS
#include <socks.h>
#endif
/* kerberos 5 include files (ext-proto.h) will get an appropriate stdlib.h /* kerberos 5 include files (ext-proto.h) will get an appropriate stdlib.h
and string.h/strings.h */ and string.h/strings.h */

View File

@@ -32,9 +32,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -81,6 +78,9 @@ RCSID("$Id$");
#include <krb.h> #include <krb.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include "encrypt.h" #include "encrypt.h"
#include "auth.h" #include "auth.h"

View File

@@ -32,9 +32,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -42,6 +39,10 @@ RCSID("$Id$");
#include "auth.h" #include "auth.h"
#include "encrypt.h" #include "encrypt.h"
#include <string.h> #include <string.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include <roken.h> #include <roken.h>
char *RemoteHostName; char *RemoteHostName;

View File

@@ -45,9 +45,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -58,6 +55,9 @@ RCSID("$Id$");
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <signal.h> #include <signal.h>
#include <setjmp.h> #include <setjmp.h>
#ifdef SOCKS
#include <socks.h>
#endif
static jmp_buf env; static jmp_buf env;

View File

@@ -32,9 +32,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -81,6 +78,9 @@ RCSID("$Id$");
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include "encrypt.h" #include "encrypt.h"
#include "auth.h" #include "auth.h"

View File

@@ -32,9 +32,6 @@
*/ */
#include <config.h> #include <config.h>
#ifdef SOCKS
#include <socks.h>
#endif
RCSID("$Id$"); RCSID("$Id$");
@@ -84,6 +81,10 @@ RCSID("$Id$");
#include <string.h> #include <string.h>
#include <pwd.h> #include <pwd.h>
#ifdef SOCKS
#include <socks.h>
#endif
#include "encrypt.h" #include "encrypt.h"
#include "auth.h" #include "auth.h"
#include "misc.h" #include "misc.h"

View File

@@ -41,9 +41,6 @@
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@@ -63,6 +60,10 @@
#include <unistd.h> #include <unistd.h>
#endif #endif
#ifdef HAVE_CURSES_H
#include <curses.h>
#endif
#include <termios.h> #include <termios.h>
#ifdef HAVE_FCNTL_H #ifdef HAVE_FCNTL_H
@@ -130,6 +131,10 @@
#include <arpa/telnet.h> #include <arpa/telnet.h>
#endif #endif
#ifdef SOCKS
#include <socks.h>
#endif
#include <roken.h> #include <roken.h>
#include <krb.h> #include <krb.h>