X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/7246dc4381c6c95454672a5c1aff65a02d6d3747..aced8326228ea3cf1673828a6e488b8f75108f45:/components/ip.c?ds=sidebyside diff --git a/components/ip.c b/components/ip.c index f98b2ed..25071e4 100644 --- a/components/ip.c +++ b/components/ip.c @@ -1,4 +1,5 @@ /* See LICENSE file for copyright and license details. */ +#if defined(__linux__) #include #include #include @@ -68,3 +69,4 @@ ipv6(const char *iface) return NULL; } +#endif