--- openjdk/Inet6AddressImpl.c +++ openjdk/Inet6AddressImpl.c @@ -360,6 +360,13 @@ #ifdef AF_INET6 +#ifdef __MINGW32__ +typedef struct icmpv6_echo_reply_lh { + IPV6_ADDRESS_EX Address; + ULONG Status; + unsigned int RoundTripTime; +} ICMPV6_ECHO_REPLY, *PICMPV6_ECHO_REPLY; +#endif /** * ping implementation.