From: Michael Jeanson Date: Wed, 14 Oct 2015 18:15:10 +0000 (-0400) Subject: Port: Add Solaris support to poll compat X-Git-Tag: v2.8.0-rc1~289 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=edf0e3336bd37e4d26a0d22575dccc626a96a942;p=lttng-tools.git Port: Add Solaris support to poll compat Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- 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