twifi: Linux also needs sys/ioctl.h - spoon - dwm status utility (2f30 fork) | |
git clone git://src.adamsgaard.dk/spoon | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 173be77dfcc78c114619535d1b19c3a449af03cd | |
parent cac2ac13bd99c53ca562157a99befd92ad643a1d | |
Author: sin <[email protected]> | |
Date: Wed, 1 Mar 2017 14:51:58 +0000 | |
wifi: Linux also needs sys/ioctl.h | |
Diffstat: | |
M wifi.c | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/wifi.c b/wifi.c | |
t@@ -1,3 +1,5 @@ | |
+#include <sys/ioctl.h> | |
+ | |
#include <err.h> | |
#include <ifaddrs.h> | |
#include <stdio.h> | |
t@@ -28,7 +30,6 @@ wifiprint(char *buf, size_t len, int quality) | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <sys/select.h> | |
-#include <sys/ioctl.h> | |
#include <net/if.h> | |
#include <net/if_media.h> |