From 88b1063f1351d14d732f81f8dbb3ccdc699163d6 Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Wed, 26 Aug 2015 17:46:54 -0400 Subject: [PATCH] The constant siocgifmtu is used in the context of all these macros. --- src/enum_net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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