summaryrefslogtreecommitdiffstats
path: root/syshead.h
diff options
context:
space:
mode:
authorHeiko Hund <heiko.hund@sophos.com>2011-08-31 14:38:08 +0000
committerDavid Sommerseth <davids@redhat.com>2011-08-31 19:32:00 +0200
commita18c2b025c851a50bd2df33af5bad99b467da595 (patch)
treefe93c8ca42f86d55f890fda7e59b4c867bc325ec /syshead.h
parentb9a13c7a0446fdd46ef834ad0de30a25cba89e74 (diff)
downloadopenvpn-a18c2b025c851a50bd2df33af5bad99b467da595.tar.gz
openvpn-a18c2b025c851a50bd2df33af5bad99b467da595.tar.xz
openvpn-a18c2b025c851a50bd2df33af5bad99b467da595.zip
lowercase include header name in syshead.h
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>
Diffstat (limited to 'syshead.h')
-rw-r--r--syshead.h2
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>