]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
lowercase include header name in syshead.h
authorHeiko Hund <heiko.hund@sophos.com>
Wed, 31 Aug 2011 14:38:08 +0000 (14:38 +0000)
committerDavid Sommerseth <davids@redhat.com>
Wed, 31 Aug 2011 17:32:00 +0000 (19:32 +0200)
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.hund@sophos.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
syshead.h

index 87cc369f62b5c25826b3b42f8f1d8932eeb49c2c..e208d4cdcbe1ebe768e0cb46e4aead8cdf481fbd 100644 (file)
--- a/syshead.h
+++ b/syshead.h
 
 #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>