From: hniksic Date: Thu, 31 Jan 2002 02:23:04 +0000 (-0800) Subject: [svn] Enable compilation on Windows. X-Git-Tag: v1.13~1841 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=a861f718ed53d4517dbb27b2b4f12a6be0759180 [svn] Enable compilation on Windows. Submitted by Herold Heiko in . --- 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