includes and fixed to make it compile under Ultrix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@485 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -46,10 +46,12 @@ extern int h_errno;
|
|||||||
|
|
||||||
#include "krb4.h"
|
#include "krb4.h"
|
||||||
|
|
||||||
|
extern char *optarg;
|
||||||
|
extern int optind, opterr;
|
||||||
|
|
||||||
#if defined(__sun__) && !defined(__svr4)
|
#if defined(__sun__) && !defined(__svr4)
|
||||||
int fclose(FILE*);
|
int fclose(FILE*);
|
||||||
int pclose(FILE*);
|
int pclose(FILE*);
|
||||||
extern int optind;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __FTP_LOCL_H__ */
|
#endif /* __FTP_LOCL_H__ */
|
||||||
|
@@ -83,6 +83,8 @@ static char rcsid[] = "$NetBSD: ftpcmd.y,v 1.6 1995/06/03 22:46:45 mycroft Exp $
|
|||||||
#include "extern.h"
|
#include "extern.h"
|
||||||
#include "auth.h"
|
#include "auth.h"
|
||||||
|
|
||||||
|
#include <roken.h>
|
||||||
|
|
||||||
off_t restart_point;
|
off_t restart_point;
|
||||||
|
|
||||||
static int cmd_type;
|
static int cmd_type;
|
||||||
|
@@ -66,7 +66,6 @@ RCSID("$Id$");
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <netdb.h>
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@@ -92,6 +91,8 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
void yyparse();
|
void yyparse();
|
||||||
|
|
||||||
|
extern char *optarg;
|
||||||
|
extern int optind, opterr;
|
||||||
|
|
||||||
#ifndef LOG_FTP
|
#ifndef LOG_FTP
|
||||||
#define LOG_FTP LOG_DAEMON
|
#define LOG_FTP LOG_DAEMON
|
||||||
|
@@ -7,7 +7,6 @@
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <netdb.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -17,6 +16,8 @@
|
|||||||
#include "extern.h"
|
#include "extern.h"
|
||||||
#include "auth.h"
|
#include "auth.h"
|
||||||
|
|
||||||
|
#include <roken.h>
|
||||||
|
|
||||||
static AUTH_DAT auth_dat;
|
static AUTH_DAT auth_dat;
|
||||||
static des_key_schedule schedule;
|
static des_key_schedule schedule;
|
||||||
|
|
||||||
|
@@ -63,6 +63,8 @@ static char rcsid[] = "$NetBSD: popen.c,v 1.5 1995/04/11 02:45:00 cgd Exp $";
|
|||||||
|
|
||||||
#include "extern.h"
|
#include "extern.h"
|
||||||
|
|
||||||
|
#include <roken.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Special version of popen which avoids call to shell. This ensures noone
|
* Special version of popen which avoids call to shell. This ensures noone
|
||||||
* may create a pipe to a hidden program as a side effect of a list or dir
|
* may create a pipe to a hidden program as a side effect of a list or dir
|
||||||
|
Reference in New Issue
Block a user