Hi,

On Tue, Oct 10, 2017 at 7:11 PM, <[email protected]> wrote:

> From: Simon Rozman <[email protected]>
>
> ---
>  src/openvpnserv/interactive.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c
> index 4b08086..2019d38 100644
> --- a/src/openvpnserv/interactive.c
> +++ b/src/openvpnserv/interactive.c
> @@ -33,6 +33,7 @@
>  #include <stdio.h>
>  #include <sddl.h>
>  #include <shellapi.h>
> +#include <mstcpip.h>
>
>  #ifdef HAVE_VERSIONHELPERS_H
>  #include <versionhelpers.h>
>

In mingw build mstcpip.h gets pulled-in though ws2tcpip.h but MSDN says to
explicitly include it for RtlIpv4AddressToStringW etc.

Anyway mingw is still happy at least with this order of includes, so looks
good to me.

ACK.

Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to