eiwd

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

commit 0a73e18fe2d615075db57806b0ff342eec836010
parent 9d9d1a8ce12da45d3ae191fc48a58306b9404b83
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Tue, 10 Feb 2026 08:52:58 +0100

client: Fix build issue with missing _GNU_SOURCE

  CC       client/dpp.o
client/dpp.c: In function ‘get_uri_method_callback’:
client/dpp.c:174:13: error: implicit declaration of function ‘popen’; did you mean ‘fopen’? [-Wimplicit-function-declaration]
  174 |         f = popen(cmd, "r");
      |             ^~~~~
      |             fopen
client/dpp.c:174:11: error: assignment to ‘FILE *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  174 |         f = popen(cmd, "r");
      |           ^
client/dpp.c:181:9: error: implicit declaration of function ‘pclose’; did you mean ‘close’? [-Wimplicit-function-declaration]
  181 |         pclose(f);
      |         ^~~~~~
      |         close

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

diff --git a/client/dpp.c b/client/dpp.c @@ -24,6 +24,7 @@ #include <config.h> #endif +#define _GNU_SOURCE #include <stdio.h> #include <linux/limits.h>