eiwd

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

commit 13253a4aedc91a36fdb424dc27dd951a76418551
parent 7e0b9b7a547fafdd9cba78cf75747d4ed498a29a
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Tue, 10 Feb 2026 09:12:20 +0100

rfkill: Fix build issue with missing _GNU_SOURCE

  CC       src/rfkill.o
In file included from ./ell/ell.h:1,
                 from src/rfkill.c:35:
src/rfkill.c: In function ‘rfkill_init’:
src/rfkill.c:282:49: error: ‘O_CLOEXEC’ undeclared (first use in this function); did you mean ‘FD_CLOEXEC’?
  282 |         fd = L_TFR(open("/dev/rfkill", O_RDWR | O_CLOEXEC));
      |                                                 ^~~~~~~~~
./ell/util.h:348:34: note: in definition of macro ‘L_TFR’
  348 |        do __result = (long int) (expression);      \
      |                                  ^~~~~~~~~~
src/rfkill.c:282:49: note: each undeclared identifier is reported only once for each function it appears in
  282 |         fd = L_TFR(open("/dev/rfkill", O_RDWR | O_CLOEXEC));
      |                                                 ^~~~~~~~~
./ell/util.h:348:34: note: in definition of macro ‘L_TFR’
  348 |        do __result = (long int) (expression);      \
      |                                  ^~~~~~~~~~

Diffstat:
Msrc/rfkill.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/rfkill.c b/src/rfkill.c @@ -24,6 +24,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h>