1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Enable compilation on Windows.

Submitted by Herold Heiko in
<B11A7CEC1675D511A3890002A551AD7C37D8AE@srvnt08.previnet.it>.
This commit is contained in:
hniksic 2002-01-30 18:23:04 -08:00
parent 6c4c785cc2
commit a861f718ed
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-01-31 Herold Heiko <Heiko.Herold@previnet.it>
* ftp-basic.c, host.c: don't include sys/socket.h, arpa/inet.h,
netdb.h on windows.
2002-01-30 Hrvoje Niksic <hniksic@arsdigita.com>
* retr.c (retrieve_url): Remove redirection cycle detection. This

View File

@ -34,8 +34,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/types.h>
/* For inet_ntop. */
#ifndef WINDOWS
#include <sys/socket.h>
#include <arpa/inet.h>
#endif
#ifdef WINDOWS
# include <winsock.h>

View File

@ -18,7 +18,10 @@ along with Wget; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <config.h>
#ifndef WINDOWS
#include <netdb.h>
#endif
#include <stdio.h>
#include <stdlib.h>