X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fsocket.h;h=4d2925f3b146fddd7d44c2aee95f94b4365a0484;hp=69a91885ef0b6e45e5807993d6e812b3e9a40b71;hb=d59cedb315b0238f8669325290654c83cbeb10e8;hpb=5a5f0c3aa41983e5aee9c79f518430e2d0b27e49 diff --git a/src/common/compat/socket.h b/src/common/compat/socket.h index 69a91885e..4d2925f3b 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__) +#elif (defined(__FreeBSD__) || defined(__CYGWIN__)) struct lttng_sock_cred { uid_t uid;