diff options
Diffstat (limited to 'components/wifi.c')
-rw-r--r-- | components/wifi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/wifi.c b/components/wifi.c index 3767b21..084ab99 100644 --- a/components/wifi.c +++ b/components/wifi.c @@ -1,4 +1,5 @@ /* See LICENSE file for copyright and license details. */ +#ifdef __linux__ #include <err.h> #include <ifaddrs.h> #include <linux/wireless.h> @@ -88,3 +89,4 @@ wifi_essid(const char *iface) else return id; } +#endif |