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:
parent
6c4c785cc2
commit
a861f718ed
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user