From b1325effaf300e21bb804113cc202b0e42ea61da Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 14 Oct 2015 14:16:30 -0400 Subject: [PATCH] Port: Add Solaris support to socket 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/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1