summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2014-03-10 22:31:39 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2014-03-10 22:31:39 +0000
commita667875fb992717818564c298a0c900465181218 (patch)
treea7aa3e4531c16f513dda3b58716e11f1039bfab5 /lldb
parentde93b01a16aafc2aa617a6fa8a5307d0fbac8267 (diff)
downloadbcm5719-llvm-a667875fb992717818564c298a0c900465181218.tar.gz
bcm5719-llvm-a667875fb992717818564c298a0c900465181218.zip
Fix Mingw build error by using lower case name for windows header files.
llvm-svn: 203505
Diffstat (limited to 'lldb')
-rw-r--r--lldb/include/lldb/Host/SocketAddress.h2
-rw-r--r--lldb/include/lldb/Host/windows/windows.h2
-rw-r--r--lldb/source/Core/ConnectionFileDescriptor.cpp2
-rw-r--r--lldb/source/Host/common/Host.cpp2
-rw-r--r--lldb/tools/driver/Platform.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/lldb/include/lldb/Host/SocketAddress.h b/lldb/include/lldb/Host/SocketAddress.h
index 4dc62102103..487f5991784 100644
--- a/lldb/include/lldb/Host/SocketAddress.h
+++ b/lldb/include/lldb/Host/SocketAddress.h
@@ -16,7 +16,7 @@
#ifdef _WIN32
#include "lldb/Host/windows/windows.h"
#include <winsock2.h>
-#include <WS2tcpip.h>
+#include <ws2tcpip.h>
typedef ADDRESS_FAMILY sa_family_t;
#else
#include <sys/socket.h>
diff --git a/lldb/include/lldb/Host/windows/windows.h b/lldb/include/lldb/Host/windows/windows.h
index 760b13b7201..238d1b3a759 100644
--- a/lldb/include/lldb/Host/windows/windows.h
+++ b/lldb/include/lldb/Host/windows/windows.h
@@ -15,7 +15,7 @@
#define WIN32_LEAN_AND_MEAN
#define NOGDI
#define NOMINMAX
-#include <Windows.h>
+#include <windows.h>
#undef GetUserName
#undef LoadImage
#undef CreateProcess
diff --git a/lldb/source/Core/ConnectionFileDescriptor.cpp b/lldb/source/Core/ConnectionFileDescriptor.cpp
index 743bd26404f..02133a95463 100644
--- a/lldb/source/Core/ConnectionFileDescriptor.cpp
+++ b/lldb/source/Core/ConnectionFileDescriptor.cpp
@@ -37,7 +37,7 @@
#ifdef _WIN32
#include "lldb/Host/windows/windows.h"
#include <winsock2.h>
-#include <WS2tcpip.h>
+#include <ws2tcpip.h>
#endif
// C++ Includes
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index d43221c0e13..eb45f4a82a5 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -16,7 +16,7 @@
#ifdef _WIN32
#include "lldb/Host/windows/windows.h"
#include <winsock2.h>
-#include <WS2tcpip.h>
+#include <ws2tcpip.h>
#else
#include <unistd.h>
#include <dlfcn.h>
diff --git a/lldb/tools/driver/Platform.h b/lldb/tools/driver/Platform.h
index 6c2f1a235e7..461fde686a8 100644
--- a/lldb/tools/driver/Platform.h
+++ b/lldb/tools/driver/Platform.h
@@ -20,7 +20,7 @@
#include <io.h>
#include <eh.h>
#include <inttypes.h>
- #include "lldb/Host/windows/Windows.h"
+ #include "lldb/Host/windows/windows.h"
struct timeval
{
OpenPOWER on IntegriCloud