Support NetBSD
Submitted by lol..@..or.com
Assigned to Wayland bug list
Description
Created attachment 76214 Wayland build log (without modifying wayland-os.c)
Needs sys/epoll.h, which seems a Linuxism. When changed to use just poll.h, the build continues and further fails with:
Making all in src CC wayland-os.lo wayland-os.c: In function 'wl_os_epoll_create_cloexec': wayland-os.c:145:2: warning: implicit declaration of function 'epoll_create' CCLD libwayland-util.la CCLD wayland-scanner /usr/pkg/bin/bmake all-am CC wayland-protocol.lo CC wayland-server.lo wayland-server.c:78:15: error: field 'ucred' has incomplete type wayland-server.c: In function 'wl_client_create': wayland-server.c:350:33: error: 'SO_PEERCRED' undeclared (first use in this function) wayland-server.c:350:33: note: each undeclared identifier is reported only once for each function it appears in *** Error code 1
Attachment 76214, "Wayland build log (without modifying wayland-os.c)":
b.txt
Version: 1.0.5