From 8442358d9dfc78261a5eab1f2cb13861c6e13207 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 26 Dec 2012 16:55:49 -0500 Subject: [PATCH] add linux extension POLLRDHUP to poll.h the POLL prefix is in the reserved namespace for poll.h, so no feature test macro checks are needed. --- include/poll.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/poll.h b/include/poll.h index f0e68b2f..9a785307 100644 --- a/include/poll.h +++ b/include/poll.h @@ -18,6 +18,7 @@ extern "C" { #define POLLWRNORM 0x100 #define POLLWRBAND 0x200 #define POLLMSG 0x400 +#define POLLRDHUP 0x2000 typedef unsigned long nfds_t; -- 2.25.1