X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fsocket.h;h=8a1cef157bb35d72c227e59a2e535addf5843486;hp=78610957b806e4c0d3e61d316a4e49baf649142e;hb=d05d6fe165c27f077445d1c213becd077173adab;hpb=a97dd6ce0d6f658c50b7cca73724fd8e1d5a36a1 diff --git a/src/common/compat/socket.h b/src/common/compat/socket.h index 78610957b..8a1cef157 100644 --- a/src/common/compat/socket.h +++ b/src/common/compat/socket.h @@ -122,7 +122,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__) || defined(__sun__)) +#elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__) || defined(__APPLE__)) struct lttng_sock_cred { uid_t uid;