twifi: Linux also needs sys/ioctl.h - spoon - dwm status utility (2f30 fork)
(HTM) git clone git://src.adamsgaard.dk/spoon
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 173be77dfcc78c114619535d1b19c3a449af03cd
(DIR) parent cac2ac13bd99c53ca562157a99befd92ad643a1d
(HTM) Author: sin <sin@2f30.org>
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(-)
---
(DIR) 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>