summaryrefslogtreecommitdiff
path: root/components/wifi.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-10-27 02:14:53 +0600
committerdrkhsh <me@drkhsh.at>2022-10-26 23:32:07 +0200
commitc67e9f82653adb92ce38d5b960a0501a2754beaa (patch)
tree2d415abf274f910a09059afaadcc6c146aa1b7a4 /components/wifi.c
parent9396b85faece7f57f8fd85e329d1f68b3183bbfb (diff)
components/*.c: include slstatus.h
this gives the compiler a chance to check weather the prototype and definiton matches or not, which would catch issues like 3c47701.
Diffstat (limited to 'components/wifi.c')
-rw-r--r--components/wifi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/wifi.c b/components/wifi.c
index 92c252e..b9957ab 100644
--- a/components/wifi.c
+++ b/components/wifi.c
@@ -7,6 +7,7 @@
#include <unistd.h>
#include "../util.h"
+#include "../slstatus.h"
#define RSSI_TO_PERC(rssi) \
rssi >= -50 ? 100 : \