mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2026-02-11 06:58:04 +01:00
udev: Fix build issue with missing _GNU_SOURCE
CC src/udev.o
src/udev.c: In function ‘attach_filter’:
src/udev.c:129:40: error: ‘SO_ATTACH_FILTER’ undeclared (first use in this function)
129 | if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER,
| ^~~~~~~~~~~~~~~~
src/udev.c:129:40: note: each undeclared identifier is reported only once for each function it appears in
This commit is contained in:
parent
12e65dc025
commit
2bc1e914d0
@ -24,6 +24,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user