eiwd

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

commit 98d50159165194bf3ee374aa681c5957c86e2f97
parent 6116554d637bca65d131ade76c1362b28eacb37e
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Tue, 10 Feb 2026 16:53:59 +0100

tools: Fix build issue with missing _GNU_SOURCE

  CC       tools/probe-req.o
tools/probe-req.c: In function ‘get_interface_callback’:
tools/probe-req.c:122:22: error: storage size of ‘ifr’ isn’t known
  122 |         struct ifreq ifr;
      |                      ^~~
tools/probe-req.c:155:42: error: ‘IFF_UP’ undeclared (first use in this function)
  155 |         if (r == -1 || !(ifr.ifr_flags & IFF_UP))
      |                                          ^~~~~~
tools/probe-req.c:155:42: note: each undeclared identifier is reported only once for each function it appears in
tools/probe-req.c:122:22: error: unused variable ‘ifr’ [-Werror=unused-variable]
  122 |         struct ifreq ifr;
      |                      ^~~

Diffstat:
Mtools/probe-req.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tools/probe-req.c b/tools/probe-req.c @@ -24,6 +24,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <sys/types.h>