]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
require poll.h before using poll()
authorwessels <>
Wed, 31 Dec 1997 12:28:33 +0000 (12:28 +0000)
committerwessels <>
Wed, 31 Dec 1997 12:28:33 +0000 (12:28 +0000)
src/squid.h

index 96840f693b632505d7954327c55218fa2a3c9203..5d8c5ed64b6cc561ba5613e6fff8f79bb30a325e 100644 (file)
@@ -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
  *
 #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 <oskar@is.co.za>
  *  -- Stewart Forster <slf@connect.com.au>
  */
 #if HAVE_POLL
-#if defined(_SQUID_LINUX_)
 #if HAVE_POLL_H
 #include <poll.h>
 #else /* HAVE_POLL_H */
 #undef HAVE_POLL
 #endif /* HAVE_POLL_H */
-#endif /* end of Linux workaround */
 #endif /* HAVE_POLL */
 
 #ifdef __STDC__