From: Michael Jeanson Date: Wed, 14 Oct 2015 18:16:30 +0000 (-0400) Subject: Port: Add Solaris support to socket compat X-Git-Tag: v2.8.0-rc1~288 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b1325effaf300e21bb804113cc202b0e42ea61da;p=lttng-tools.git Port: Add Solaris support to socket compat Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/compat/socket.h b/src/common/compat/socket.h index 4d2925f3b..f461a6ad1 100644 --- a/src/common/compat/socket.h +++ b/src/common/compat/socket.h @@ -37,7 +37,7 @@ typedef struct ucred lttng_sock_cred; #define LTTNG_SOCK_GET_GID_CRED(c) LTTNG_REF(c)->gid #define LTTNG_SOCK_GET_PID_CRED(c) LTTNG_REF(c)->pid -#elif (defined(__FreeBSD__) || defined(__CYGWIN__)) +#elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__)) struct lttng_sock_cred { uid_t uid;