summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/gssftp/ftpd/ChangeLog4
-rw-r--r--src/appl/gssftp/ftpd/ftpd.c4
2 files changed, 8 insertions, 0 deletions
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 <epeisach@mit.edu>
+
+ * ftpd.c: If NEED_SETENV defined, prototype for setenv.
+
2001-06-20 Ezra Peisach <epeisach@mit.edu>
* 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 <libpty.h>
+#ifdef NEED_SETENV
+extern int setenv(char *, char *, int);
+#endif
+
#ifndef L_SET
#define L_SET 0
#endif