From edf0e3336bd37e4d26a0d22575dccc626a96a942 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 14 Oct 2015 14:15:10 -0400 Subject: [PATCH] Port: Add Solaris support to poll compat MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- src/common/compat/poll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index 699901848..5f45da2b3 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -254,7 +254,7 @@ enum { #if __linux__ LPOLLMSG = POLLMSG, LPOLLRDHUP = POLLRDHUP, -#elif (defined(__FreeBSD__) || defined(__CYGWIN__)) +#elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__)) LPOLLMSG = 0, LPOLLRDHUP = 0, #else -- 2.34.1