Add equivalent for missing poll(2) #define in OpenBSD
[exim.git] / src / OS / os.h-OpenBSD
index 9da2599c12e77aa46d6f7e07a761817908b938fc..a594d17a7a2f90ff3db2d0c1f32aeae1b2bcbb4d 100644 (file)
@@ -50,4 +50,9 @@ typedef struct __res_state *res_state;
 #endif
 #define TIME_T_FMT "%lld"
 
+
+#ifndef POLLRDHUP
+# define POLLRDHUP (POLLIN | POLLHUP)
+#endif
+
 /* End */