X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/faa52bdcc0221de2d8fae950e409a8ac5e05bfcd..259e106b4fbdca3df8dd660f70edf0585f14b6f6:/components/ip.c?ds=inline diff --git a/components/ip.c b/components/ip.c index 686344b..422b448 100644 --- a/components/ip.c +++ b/components/ip.c @@ -1,5 +1,9 @@ /* See LICENSE file for copyright and license details. */ -#if defined(__linux__) +#if defined(__OpenBSD__) +#include +#include +#endif + #include #include #include @@ -69,4 +73,3 @@ ipv6(const char *iface) return NULL; } -#endif