diff --git a/src/ChangeLog b/src/ChangeLog index 2b771c23..1660fd81 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-01-31 Herold Heiko + + * ftp-basic.c, host.c: don't include sys/socket.h, arpa/inet.h, + netdb.h on windows. + 2002-01-30 Hrvoje Niksic * retr.c (retrieve_url): Remove redirection cycle detection. This diff --git a/src/ftp-basic.c b/src/ftp-basic.c index b3b14a7a..f851694b 100644 --- a/src/ftp-basic.c +++ b/src/ftp-basic.c @@ -34,8 +34,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include /* For inet_ntop. */ +#ifndef WINDOWS #include #include +#endif #ifdef WINDOWS # include diff --git a/src/host.c b/src/host.c index bf515f5f..dbe11edb 100644 --- a/src/host.c +++ b/src/host.c @@ -18,7 +18,10 @@ along with Wget; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include + +#ifndef WINDOWS #include +#endif #include #include