gcc 4.5 is a bit more picky with implicit includes
diff --git a/include/lldb/API/SBCommandReturnObject.h b/include/lldb/API/SBCommandReturnObject.h
index 1533816..fce3905 100644
--- a/include/lldb/API/SBCommandReturnObject.h
+++ b/include/lldb/API/SBCommandReturnObject.h
@@ -9,7 +9,7 @@
#ifndef LLDB_SBCommandReturnObject_h_
#define LLDB_SBCommandReturnObject_h_
-
+#include <ios>
#include "lldb/API/SBDefines.h"
namespace lldb {
diff --git a/include/lldb/API/SBStream.h b/include/lldb/API/SBStream.h
index 6c46c1a..bf2f781 100644
--- a/include/lldb/API/SBStream.h
+++ b/include/lldb/API/SBStream.h
@@ -11,6 +11,7 @@
#define LLDB_SBStream_h_
#include "lldb/API/SBDefines.h"
+#include <ios>
namespace lldb {
diff --git a/source/API/SBStream.cpp b/source/API/SBStream.cpp
index 55714fd..e967f2f 100644
--- a/source/API/SBStream.cpp
+++ b/source/API/SBStream.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include <cstdio>
+
#include "lldb/API/SBStream.h"
#include "lldb/Core/Stream.h"
diff --git a/source/API/SBType.cpp b/source/API/SBType.cpp
index 5c3e973..ee7f21c 100644
--- a/source/API/SBType.cpp
+++ b/source/API/SBType.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include <cstring>
+
#include "lldb/API/SBType.h"
#include "lldb/API/SBStream.h"
#include "lldb/Core/ConstString.h"
diff --git a/source/Expression/IRForTarget.cpp b/source/Expression/IRForTarget.cpp
index 626cd54..b318984 100644
--- a/source/Expression/IRForTarget.cpp
+++ b/source/Expression/IRForTarget.cpp
@@ -222,7 +222,7 @@ IRForTarget::createResultVariable(llvm::Module &M,
Constant *initializer = result_global->getInitializer();
- StoreInst *synthesized_store = new StoreInst::StoreInst(initializer,
+ StoreInst *synthesized_store = new StoreInst(initializer,
new_result_global,
first_entry_instruction);
diff --git a/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLDLog.cpp b/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLDLog.cpp
index 946c8f9..ed78639 100644
--- a/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLDLog.cpp
+++ b/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLDLog.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include <stdarg.h>
+
#include "DynamicLoaderMacOSXDYLDLog.h"
#include "lldb/Core/Log.h"
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev