../lib/netlink-socket.h:204:2: error: #error "netlink-socket.h is only for hosts that support Netlink sockets"
204 | #error "netlink-socket.h is only for hosts that support Netlink sockets"
| ^~~~~
../lib/netlink-socket.c: In function 'nl_sock_create':
../lib/netlink-socket.c:121:24: error: storage size of 'local' isn't known
121 | struct sockaddr_nl local, remote;
| ^~~~~
../lib/netlink-socket.c:121:31: error: storage size of 'remote' isn't known
121 | struct sockaddr_nl local, remote;
| ^~
../lib/netlink-socket.c:132:24: error: '_XOPEN_IOV_MAX' undeclared (first use in this function)
132 | if (max_iovs < _XOPEN_IOV_MAX) {
../lib/netlink-socket.h:204:2: error: #error "netlink-socket.h is only for hosts that support Netlink sockets" 204 | #error "netlink-socket.h is only for hosts that support Netlink sockets" | ^~~~~ ../lib/netlink-socket.c: In function 'nl_sock_create': ../lib/netlink-socket.c:121:24: error: storage size of 'local' isn't known 121 | struct sockaddr_nl local, remote; | ^~~~~ ../lib/netlink-socket.c:121:31: error: storage size of 'remote' isn't known 121 | struct sockaddr_nl local, remote; | ^
~../lib/netlink-socket.c:132:24: error: '_XOPEN_IOV_MAX' undeclared (first use in this function) 132 | if (max_iovs < _XOPEN_IOV_MAX) {