eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 12e65dc02520665dd16137534c4d93fb159b7a48
parent 98d50159165194bf3ee374aa681c5957c86e2f97
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Tue, 10 Feb 2026 17:10:16 +0100

netdev: Fix build issue with missing _GNU_SOURCE

  CC       src/netdev.o
src/netdev.c: In function ‘pae_open’:
src/netdev.c:6606:40: error: ‘SO_ATTACH_FILTER’ undeclared (first use in this function)
 6606 |         if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER,
      |                                        ^~~~~~~~~~~~~~~~
src/netdev.c:6606:40: note: each undeclared identifier is reported only once for each function it appears in

Diffstat:
Msrc/netdev.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/netdev.c b/src/netdev.c @@ -24,6 +24,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdlib.h> #include <alloca.h> #include <stdio.h> @@ -32,8 +33,8 @@ #include <linux/if.h> #include <linux/if_packet.h> #include <linux/if_ether.h> -#include <arpa/inet.h> #include <linux/filter.h> +#include <arpa/inet.h> #include <sys/socket.h> #include <errno.h>