From e6a51d70ee282659f2d145c8d29c1ea824749d0e Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 21 Jun 2001 18:12:51 +0000 Subject: [PATCH] * ftpd.c: If NEED_SETENV defined, prototype for setenv git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13460 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftpd/ChangeLog | 4 ++++ src/appl/gssftp/ftpd/ftpd.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 8e5d3352e..01b384f92 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,7 @@ +2001-06-21 Ezra Peisach + + * ftpd.c: If NEED_SETENV defined, prototype for setenv. + 2001-06-20 Ezra Peisach * ftpd.c: Include gssapi/gssapi_krb5.h for gss_krb5_copy_ccache diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index 834d807f6..77d5a7f17 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -102,6 +102,10 @@ static char sccsid[] = "@(#)ftpd.c 5.40 (Berkeley) 7/2/91"; #include "pathnames.h" #include +#ifdef NEED_SETENV +extern int setenv(char *, char *, int); +#endif + #ifndef L_SET #define L_SET 0 #endif -- 2.26.2