--- src/wayland-os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland-os.h b/src/wayland-os.h index 321e34d..28e3350 100644 --- a/src/wayland-os.h +++ b/src/wayland-os.h @@ -41,6 +41,9 @@ wl_os_queue_create_cloexec(void); int wl_os_accept_cloexec(int sockfd, struct sockaddr *addr, socklen_t *addrlen); +#ifndef SO_PEERCRED +#define SO_PEERCRED LOCAL_PEERCRED +#endif /* * The following are for wayland-os.c and the unit tests. -- 2.20.1
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel