]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
move POLLRDNORM hack from config.h to squid.h
authorwessels <>
Sun, 30 Nov 1997 09:52:09 +0000 (09:52 +0000)
committerwessels <>
Sun, 30 Nov 1997 09:52:09 +0000 (09:52 +0000)
src/squid.h

index ff98c07997c38dc581d66200d48463a704da24f8..befc48984affbb7481cc0a1a0b5d000c85f00880 100644 (file)
@@ -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
  *
 #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"