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.
This commit is contained in:
NRK
2022-10-27 02:14:53 +06:00
committed by drkhsh
parent f29aa9ab06
commit 28ef0b242c
23 changed files with 23 additions and 1 deletions

View File

@ -7,6 +7,7 @@
#include <unistd.h>
#include "../util.h"
#include "../slstatus.h"
#define RSSI_TO_PERC(rssi) \
rssi >= -50 ? 100 : \