[svn] Don't include netdb.h on windows.

Submitted by Ian Abbott in <3C964B8C.18942.D3115@localhost>.
This commit is contained in:
abbotti 2002-03-18 12:21:58 -08:00
parent afd2ed9f39
commit 47a8225eda
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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__