Add equivalent for missing poll(2) #define in OpenBSD
authorJeremy Harris <jgh146exb@wizmail.org>
Fri, 20 Oct 2017 14:28:07 +0000 (15:28 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Fri, 20 Oct 2017 14:28:07 +0000 (15:28 +0100)
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 */