From bef32a6e22bf8c25026bd94bf6314319ae7722fd Mon Sep 17 00:00:00 2001 From: ewt Date: Wed, 25 Sep 1996 19:11:14 +0000 Subject: [PATCH] small portability enhancements CVS patchset: 1042 CVS date: 1996/09/25 19:11:14 --- ftp.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/ftp.c b/ftp.c index 54d9e2f..6fc4d1c 100644 --- a/ftp.c +++ b/ftp.c @@ -1,6 +1,17 @@ +#ifdef HAVE_MACHINE_TYPES_H +# include +#endif + +#ifdef HAVE_ALLOCA_H +# include +#endif + +#ifdef HAVE_NETINET_IN_SYSTM_H +# include +#endif + #include #include -#include #include #include #include @@ -11,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -18,6 +30,10 @@ #define TIMEOUT_SECS 60 #define BUFFER_SIZE 4096 +#ifndef IPPORT_FTP +# define IPPORT_FTP 21 +#endif + #include "ftp.h" static int ftpCheckResponse(int sock, char ** str); -- 2.7.4