Port: Add Solaris support to socket compat
[lttng-tools.git] / src / common / compat / socket.h
index 4d2925f3b146fddd7d44c2aee95f94b4365a0484..f461a6ad114848a1be1e1f7cf47ebf81122d36af 100644 (file)
@@ -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;
This page took 0.03102 seconds and 4 git commands to generate.