Guillaume Charifi guillaume.charifi@sfr.fr writes:
Signed-off-by: Guillaume Charifi guillaume.charifi@sfr.fr
dlls/iphlpapi/iphlpapi.spec | 2 +- dlls/iphlpapi/iphlpapi_main.c | 30 ++++- dlls/iphlpapi/ipstats.c | 241 ++++++++++++++++++++++++++++++++++ dlls/iphlpapi/ipstats.h | 1 + include/iphlpapi.h | 2 + include/udpmib.h | 53 ++++++++ 6 files changed, 322 insertions(+), 7 deletions(-)
This breaks the Android build. We'd need our own WS_ version of such macros.
../../../wine/dlls/iphlpapi/ipstats.c:2706:9: error: no member named 'in6_u' in 'struct WS_in6_addr' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/netinet/in6.h:37:11: note: expanded from macro 'IN6_IS_ADDR_UNSPECIFIED' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/linux/in6.h:35:19: note: expanded from macro 's6_addr32' ../../../wine/dlls/iphlpapi/ipstats.c:2706:9: error: no member named 'in6_u' in 'struct WS_in6_addr' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/netinet/in6.h:38:11: note: expanded from macro 'IN6_IS_ADDR_UNSPECIFIED' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/linux/in6.h:35:19: note: expanded from macro 's6_addr32' ../../../wine/dlls/iphlpapi/ipstats.c:2706:9: error: no member named 'in6_u' in 'struct WS_in6_addr' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/netinet/in6.h:39:11: note: expanded from macro 'IN6_IS_ADDR_UNSPECIFIED' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/linux/in6.h:35:19: note: expanded from macro 's6_addr32' ../../../wine/dlls/iphlpapi/ipstats.c:2706:9: error: no member named 'in6_u' in 'struct WS_in6_addr' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/netinet/in6.h:40:11: note: expanded from macro 'IN6_IS_ADDR_UNSPECIFIED' /home/julliard/wine/build/toolchain-android-x86/bin/../sysroot/usr/include/linux/in6.h:35:19: note: expanded from macro 's6_addr32' make[1]: *** [Makefile:275: ipstats.o] Error 1