]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/exim.h
Add equivalent for missing poll(2) #define
[user/henk/code/exim.git] / src / src / exim.h
index 4ca28130a5e5fa57feb57254dfc8ff7272a54783..e12049a9c158693ba26ef6127b6237ffd2375bbe 100644 (file)
@@ -492,6 +492,7 @@ config.h, mytypes.h, and store.h, so we don't need to mention them explicitly.
 #include "macros.h"
 #include "dbstuff.h"
 #include "structs.h"
+#include "blob.h"
 #include "globals.h"
 #include "hash.h"
 #include "functions.h"
@@ -600,5 +601,11 @@ default to EDQUOT if it exists, otherwise ENOSPC. */
 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 */