From: wessels <> Date: Wed, 31 Dec 1997 12:28:33 +0000 (+0000) Subject: require poll.h before using poll() X-Git-Tag: SQUID_3_0_PRE1~4326 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f25bc279e11c20adc5815b4d34f9dd5bf4925d7;p=thirdparty%2Fsquid.git require poll.h before using poll() --- diff --git a/src/squid.h b/src/squid.h index 96840f693b..5d8c5ed64b 100644 --- a/src/squid.h +++ b/src/squid.h @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.146 1997/12/31 04:58:04 wessels Exp $ + * $Id: squid.h,v 1.147 1997/12/31 05:28:33 wessels Exp $ * * AUTHOR: Duane Wessels * @@ -171,19 +171,18 @@ #endif /* - * With linux and other systems, poll.h might not be available, - * even though poll(2) is. + * We require poll.h before using poll(). If the symbols used + * by poll() are defined elsewhere, we will need to make this + * a more sophisticated test. * -- Oskar Pearson * -- Stewart Forster */ #if HAVE_POLL -#if defined(_SQUID_LINUX_) #if HAVE_POLL_H #include #else /* HAVE_POLL_H */ #undef HAVE_POLL #endif /* HAVE_POLL_H */ -#endif /* end of Linux workaround */ #endif /* HAVE_POLL */ #ifdef __STDC__