diff --git a/src/enum_net.cpp b/src/enum_net.cpp index 23e3e711a..36f240f51 100644 --- a/src/enum_net.cpp +++ b/src/enum_net.cpp @@ -88,7 +88,7 @@ POSSIBILITY OF SUCH DAMAGE. #include #endif -#if TORRENT_USE_IFADDRS +#if TORRENT_USE_IFADDRS || TORRENT_USE_IFCONF || TORRENT_USE_NETLINK || TORRENT_USE_SYSCTL // capture this here where warnings are disabled (the macro generates warnings) const int siocgifmtu = SIOCGIFMTU; #endif