From 8b9a09e78259cc397027dbdb602ff895c43da74a Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sun, 30 Nov 1997 09:52:09 +0000 Subject: [PATCH] move POLLRDNORM hack from config.h to squid.h --- src/squid.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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" -- 2.47.3