eiwd

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

commit 705898d1dbf33009be6ef9ff00dc7cb4300638dc
parent aaf1d91d516c9a60a68e0620753b9f45aed6da94
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu,  4 Jan 2024 04:58:26 -0800

monitor: include unistd.h in main.c

This fixes a build break on some systems, specifically the
raspberry Pi 3 (ARM):

monitor/main.c: In function ‘open_packet’:
monitor/main.c:176:3: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Werror=implicit-function-declaration]
  176 |   close(fd);
      |   ^~~~~
      |   pclose

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

diff --git a/monitor/main.c b/monitor/main.c @@ -32,6 +32,7 @@ #include <string.h> #include <getopt.h> #include <signal.h> +#include <unistd.h> #include <arpa/inet.h> #include <sys/socket.h> #include <linux/genetlink.h>