X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/faa52bdcc0221de2d8fae950e409a8ac5e05bfcd..e43c3a16f06ccd0c35814e8b47a6f30e81f9c981:/components/ip.c diff --git a/components/ip.c b/components/ip.c index 686344b..b1f8a05 100644 --- a/components/ip.c +++ b/components/ip.c @@ -1,10 +1,13 @@ /* See LICENSE file for copyright and license details. */ -#if defined(__linux__) #include #include #include #include #include +#if defined(__OpenBSD__) +#include +#include +#endif #include "../util.h" @@ -69,4 +72,3 @@ ipv6(const char *iface) return NULL; } -#endif