From: wessels <> Date: Sun, 30 Nov 1997 09:52:09 +0000 (+0000) Subject: move POLLRDNORM hack from config.h to squid.h X-Git-Tag: SQUID_3_0_PRE1~4449 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b9a09e78259cc397027dbdb602ff895c43da74a;p=thirdparty%2Fsquid.git move POLLRDNORM hack from config.h to squid.h --- diff --git a/src/squid.h b/src/squid.h index ff98c07997..befc48984a 100644 --- a/src/squid.h +++ b/src/squid.h @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.136 1997/11/29 17:00:45 wessels Exp $ + * $Id: squid.h,v 1.137 1997/11/30 02:52:09 wessels Exp $ * * AUTHOR: Duane Wessels * @@ -265,6 +265,16 @@ #define storeKeyHashHash hash4 #endif +/* Needed for poll() on Linux at least */ +#if HAVE_POLL +#ifndef POLLRDNORM +#define POLLRDNORM POLLIN +#endif +#ifndef POLLWRNORM +#define POLLWRNORM POLLOUT +#endif +#endif + #include "defines.h" #include "enums.h" #include "typedefs.h"