From: Michael Jeanson Date: Wed, 14 Oct 2015 18:15:10 +0000 (-0400) Subject: Port: Add Solaris support to poll compat X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=edf0e3336bd37e4d26a0d22575dccc626a96a942;hp=a3a9e86ddbed0a2ca55dc9a9d854c72930150fe6 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