projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cb5bd
)
Add equivalent for missing poll(2) #define in OpenBSD
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 20 Oct 2017 14:28:07 +0000
(15:28 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 20 Oct 2017 14:28:07 +0000
(15:28 +0100)
src/OS/os.h-OpenBSD
patch
|
blob
|
blame
|
history
diff --git
a/src/OS/os.h-OpenBSD
b/src/OS/os.h-OpenBSD
index 9da2599c12e77aa46d6f7e07a761817908b938fc..a594d17a7a2f90ff3db2d0c1f32aeae1b2bcbb4d 100644
(file)
--- 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 */