Cross compiling for Windows is broken since commit 739fa9881f12e67dc8b9cadc7230e59e7fe42423 added the mixed case header name "NtDDNdis.h" to the file. While this header exists in a MinGW build environment it's lowercase there.
Windows doesn't mind the case of a file name, but Linux does. So, lowercasing the filename will make openvpn build in both worlds. Signed-off-by: Heiko Hund <heiko.h...@sophos.com> --- syshead.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/syshead.h b/syshead.h index 87cc369..e208d4c 100644 --- a/syshead.h +++ b/syshead.h @@ -342,7 +342,7 @@ #ifdef WIN32 #include <iphlpapi.h> -#include <NtDDNdis.h> +#include <ntddndis.h> #include <wininet.h> /* The following two headers are needed of PF_INET6 */ #include <winsock2.h> -- 1.7.5.4