]> sjero.net Git - wget/commitdiff
[svn] Don't include netdb.h on windows.
authorabbotti <devnull@localhost>
Mon, 18 Mar 2002 20:21:58 +0000 (12:21 -0800)
committerabbotti <devnull@localhost>
Mon, 18 Mar 2002 20:21:58 +0000 (12:21 -0800)
Submitted by Ian Abbott in <3C964B8C.18942.D3115@localhost>.

src/ChangeLog
src/host.h

index 15139f197f01b7b97d33e2b351f7dc0dd92cce5d..da06509516f7802ccddb652c7c4b5cd12a460918 100644 (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
index 3ca6af48bcfab409c56252b5d288984bc0447bd0..058b19989635ede835e76ce689178efb572f834c 100644 (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__