From 667d4949783a20006082acd91f26e824c343b2ab Mon Sep 17 00:00:00 2001 From: hniksic Date: Mon, 18 Feb 2002 21:25:42 -0800 Subject: [PATCH] [svn] Only include Unix-specific includes #ifndef WINDOWS. --- src/ChangeLog | 5 +++++ src/host.h | 12 ++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) 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 -- 2.39.2