summaryrefslogtreecommitdiff
path: root/components/ip.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/ip.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/ip.c')
-rw-r--r--components/ip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/ip.c b/components/ip.c
index 70724eb..6d1da68 100644
--- a/components/ip.c
+++ b/components/ip.c
@@ -12,6 +12,7 @@
#endif
#include "../util.h"
+#include "../slstatus.h"
static const char *
ip(const char *interface, unsigned short sa_family)