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 9da2599..a594d17 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 */