summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/kernel/qnetworkinterface_unix.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkinterface_unix.cpp b/src/network/kernel/qnetworkinterface_unix.cpp
index fbff6dc4d3..db031fcc6b 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