From 80b7394a950c224e64d7d7e3330b275830da961a Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Mon, 7 Jun 2021 11:12:12 +0800 Subject: [PATCH] sys/poll: add POLLRDHUP definition Change-Id: I1117279d9a620138789256d699ae32d47eab3a90 Signed-off-by: chao.an --- include/sys/poll.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/poll.h b/include/sys/poll.h index b0b784d70c..015874fb1c 100644 --- a/include/sys/poll.h +++ b/include/sys/poll.h @@ -74,6 +74,7 @@ #define POLLERR (0x08) #define POLLHUP (0x10) +#define POLLRDHUP (0x10) /* NuttX does not support shutdown(fd, SHUT_RD) */ #define POLLNVAL (0x20) #define POLLFD (0x00)