mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Don't include netdb.h on windows.
Submitted by Ian Abbott in <3C964B8C.18942.D3115@localhost>.
This commit is contained in:
parent
afd2ed9f39
commit
47a8225eda
@ -1,3 +1,7 @@
|
||||
2002-03-18 Ian Abbott <abbotti@mev.co.uk>
|
||||
|
||||
* host.h: Don't include netdb.h on windows.
|
||||
|
||||
2002-02-19 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* recur.c (retrieve_tree): Handle the case when start_url doesn't
|
||||
|
@ -20,11 +20,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#ifndef HOST_H
|
||||
#define HOST_H
|
||||
|
||||
#include <netdb.h>
|
||||
|
||||
#ifdef WINDOWS
|
||||
# include <winsock.h>
|
||||
#else
|
||||
# include <netdb.h>
|
||||
# include <sys/socket.h>
|
||||
# include <netinet/in.h>
|
||||
#ifndef __BEOS__
|
||||
|
Loading…
Reference in New Issue
Block a user