From: hniksic Date: Tue, 19 Feb 2002 05:25:42 +0000 (-0800) Subject: [svn] Only include Unix-specific includes #ifndef WINDOWS. X-Git-Tag: v1.13~1835 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=667d4949783a20006082acd91f26e824c343b2ab [svn] Only include Unix-specific includes #ifndef WINDOWS. --- diff --git a/src/ChangeLog b/src/ChangeLog index 43d80e50..992207de 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-02-19 Hrvoje Niksic + + * host.h: Include Unix-specific includes #ifndef WINDOWS. + Patch originally provided by Christian Lackas. + 2002-02-11 Christian Lackas * recur.c: recurive downloading for https fixed. diff --git a/src/host.h b/src/host.h index 01a392eb..3ca6af48 100644 --- a/src/host.h +++ b/src/host.h @@ -21,8 +21,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HOST_H #include -#include -#include + +#ifdef WINDOWS +# include +#else +# include +# include +#ifndef __BEOS__ +# include +#endif +#endif #undef INET6