The constant siocgifmtu is used in the context of all these macros.

This commit is contained in:
Alden Torres 2015-08-26 17:46:54 -04:00
parent d1768b9c4c
commit 88b1063f13
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <ifaddrs.h>
#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