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-Tag: exim-4_90_RC1~27 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=85da41af516f0c5089501214534980fd4b176a11;p=exim.git 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 */