From f3c23f08bb2b7210decdf695b374fb8ee14e1761 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Wed, 16 May 2018 22:57:13 +0200 Subject: wifi: Move out common headers --- components/wifi.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'components') diff --git a/components/wifi.c b/components/wifi.c index edbcc01..78acb3f 100644 --- a/components/wifi.c +++ b/components/wifi.c @@ -1,16 +1,17 @@ /* See LICENSE file for copyright and license details. */ +#include +#include +#include +#include +#include +#include +#include + +#include "../util.h" + #if defined(__linux__) - #include - #include #include #include - #include - #include - #include - #include - #include - - #include "../util.h" const char * wifi_perc(const char *iface) @@ -93,21 +94,12 @@ return id; } #elif defined(__OpenBSD__) - #include - #include - #include - #include - #include - #include - #include - #include - #include #include #include #include #include - - #include "../util.h" + #include + #include static int load_ieee80211_nodereq(const char *iface, struct ieee80211_nodereq *nr) -- cgit v1.2.3