mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
Add support for MidnightBSD
Fix build issue Fix build issue
This commit is contained in:
parent
4922aed6c6
commit
6a15a02ec2
20 changed files with 35 additions and 35 deletions
|
|
@ -152,7 +152,7 @@ pid_t get_client_pid(struct client *client, int client_fd)
|
|||
pw_log_warn("client %p: no peercred: %m", client);
|
||||
} else
|
||||
return ucred.pid;
|
||||
#elif defined(__FreeBSD__)
|
||||
#elif defined(__FreeBSD__) || defined(__MidnightBSD__)
|
||||
struct xucred xucred;
|
||||
len = sizeof(xucred);
|
||||
if (getsockopt(client_fd, 0, LOCAL_PEERCRED, &xucred, &len) < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue