tidying
[exim.git] / src / src / exim.h
index f8dd9a9ba11897321443035beaf249d998121d46..4a171003cd98cc0ebaede9b7583ab8a61f1c5c6b 100644 (file)
@@ -597,9 +597,11 @@ default to EDQUOT if it exists, otherwise ENOSPC. */
 # undef DISABLE_DNSSEC
 #endif
 
-/* Wrapper around read(2) to read all the data we requested (BLOCKING) */
-ssize_t
-readn(int fd, void *buffer, size_t len);
+/* Some platforms (FreeBSD, OpenBSD, Solaris) do not seem to define this */
+
+#ifndef POLLRDHUP
+# define POLLRDHUP (POLLIN | POLLHUP)
+#endif
 
 #endif
 /* End of exim.h */