diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-20 15:28:07 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-20 15:28:07 +0100 |
commit | 85da41af516f0c5089501214534980fd4b176a11 (patch) | |
tree | d5ac2918ed1463cffa6180eaf6b1d705504414c5 | |
parent | 01cb5bdb47499f0d89e55e8ea973f75e143e3b4b (diff) |
Add equivalent for missing poll(2) #define in OpenBSD
-rw-r--r-- | src/OS/os.h-OpenBSD | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |