[Lldb-commits] [lldb] r203650 - Added some missing header files.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Wed Mar 12 03:39:47 PDT 2014


Author: abidh
Date: Wed Mar 12 05:39:46 2014
New Revision: 203650

URL: http://llvm.org/viewvc/llvm-project?rev=203650&view=rev
Log:
Added some missing header files.
They help fix mingw build.

Modified:
    lldb/trunk/include/lldb/Host/windows/win32.h
    lldb/trunk/source/Host/windows/Windows.cpp
    lldb/trunk/tools/driver/Platform.cpp

Modified: lldb/trunk/include/lldb/Host/windows/win32.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/windows/win32.h?rev=203650&r1=203649&r2=203650&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/windows/win32.h (original)
+++ lldb/trunk/include/lldb/Host/windows/win32.h Wed Mar 12 05:39:46 2014
@@ -11,6 +11,7 @@
 #define LLDB_lldb_win32_h_
 
 #include <stdarg.h>
+#include <time.h>
 
 // posix utilities
 int vasprintf(char **ret, const char *fmt, va_list ap);

Modified: lldb/trunk/source/Host/windows/Windows.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/windows/Windows.cpp?rev=203650&r1=203649&r2=203650&view=diff
==============================================================================
--- lldb/trunk/source/Host/windows/Windows.cpp (original)
+++ lldb/trunk/source/Host/windows/Windows.cpp Wed Mar 12 05:39:46 2014
@@ -18,6 +18,7 @@
 #include <stdlib.h>
 #include <io.h>
 #include <cerrno>
+#include <ctype.h>
 
 int vasprintf(char **ret, const char *fmt, va_list ap)
 {

Modified: lldb/trunk/tools/driver/Platform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Platform.cpp?rev=203650&r1=203649&r2=203650&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Platform.cpp (original)
+++ lldb/trunk/tools/driver/Platform.cpp Wed Mar 12 05:39:46 2014
@@ -12,6 +12,7 @@
 
 #include <process.h>
 #include <assert.h>
+#include <stdlib.h>
 
 #include "Platform.h"
 





More information about the lldb-commits mailing list