diff options
Diffstat (limited to 'src/network/kernel/qnetworkinterface_unix.cpp')
| -rw-r--r-- | src/network/kernel/qnetworkinterface_unix.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkinterface_unix.cpp b/src/network/kernel/qnetworkinterface_unix.cpp index fbff6dc4d32..db031fcc6b1 100644 --- a/src/network/kernel/qnetworkinterface_unix.cpp +++ b/src/network/kernel/qnetworkinterface_unix.cpp @@ -61,6 +61,11 @@ # define QT_NO_GETIFADDRS #endif +#ifdef Q_OS_LINUX_ANDROID +// android lacks if_nameindex +# define QT_NO_IPV6IFNAME +#endif + #ifndef QT_NO_GETIFADDRS # include <ifaddrs.h> #endif |
