wrap SOL_SOCKET, SO_PEERCRED in ifdef __linux__

This commit is contained in:
Love Hörnquist Åstrand
2012-03-11 10:18:43 -07:00
parent faf39cf6ce
commit 25e533421a

View File

@@ -525,7 +525,7 @@ update_client_creds(struct client *c)
}
}
#endif
#ifdef SO_PEERCRED
#if defined(SO_PEERCRED) && defined(__linux__)
/* Linux */
{
struct ucred pc;