X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fsocket.h;h=8a1cef157bb35d72c227e59a2e535addf5843486;hb=14c4262b940630bbb75f68b8c2eaef2b134a62d9;hp=78610957b806e4c0d3e61d316a4e49baf649142e;hpb=fbb1fd3a999509ca90c49577e53a47c23433d6f5;p=lttng-tools.git 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;