From: Jeremy Harris Date: Fri, 20 Oct 2017 14:28:07 +0000 (+0100) Subject: Add equivalent for missing poll(2) #define in OpenBSD X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/85da41af516f0c5089501214534980fd4b176a11?ds=sidebyside Add equivalent for missing poll(2) #define in OpenBSD --- diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD index 9da2599c1..a594d17a7 100644 --- a/src/OS/os.h-OpenBSD +++ b/src/OS/os.h-OpenBSD @@ -50,4 +50,9 @@ typedef struct __res_state *res_state; #endif #define TIME_T_FMT "%lld" + +#ifndef POLLRDHUP +# define POLLRDHUP (POLLIN | POLLHUP) +#endif + /* End */