wifi: OS split
Quentin Rameau quinq@fifth.space
Mon, 30 Apr 2018 15:14:39 +0200
3 files changed,
2 insertions(+),
4 deletions(-)
M
components/wifi.c
→
components/Linux/wifi.c
@@ -1,5 +1,4 @@
/* See LICENSE file for copyright and license details. */ -#if defined(__linux__) #include <errno.h> #include <ifaddrs.h> #include <linux/wireless.h>@@ -10,7 +9,7 @@ #include <string.h>
#include <sys/ioctl.h> #include <unistd.h> -#include "../util.h" +#include "../../util.h" const char * wifi_perc(const char *iface)@@ -89,4 +88,3 @@ return NULL;
else return id; } -#endif