Minor warning/error fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105718 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Symbol/LineTable.cpp b/source/Symbol/LineTable.cpp
index 326fd6e..0539335 100644
--- a/source/Symbol/LineTable.cpp
+++ b/source/Symbol/LineTable.cpp
@@ -12,6 +12,7 @@
#include "lldb/Core/Stream.h"
#include "lldb/Symbol/CompileUnit.h"
#include "lldb/Symbol/LineTable.h"
+#include <algorithm>
using namespace lldb;
using namespace lldb_private;
@@ -133,13 +134,13 @@
LT_COMPARE (b.is_terminal_entry, a.is_terminal_entry);
LT_COMPARE (a.file_idx, b.file_idx);
return false;
- #undef LT_COMPARE;
+ #undef LT_COMPARE
}
const Section *a_section = m_line_table->GetSectionForEntryIndex (a.sect_idx);
const Section *b_section = m_line_table->GetSectionForEntryIndex (b.sect_idx);
return Section::Compare(*a_section, *b_section) < 0;
-};
+}
Section *
diff --git a/source/Target/ObjCObjectPrinter.cpp b/source/Target/ObjCObjectPrinter.cpp
index 81c73aa..c302c6c 100644
--- a/source/Target/ObjCObjectPrinter.cpp
+++ b/source/Target/ObjCObjectPrinter.cpp
@@ -17,7 +17,7 @@
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
-#include "ObjCObjectPrinter.h"
+#include "lldb/Target/ObjCObjectPrinter.h"
using namespace lldb;
using namespace lldb_private;
diff --git a/source/Target/PathMappingList.cpp b/source/Target/PathMappingList.cpp
index 02ca067..23eea22 100644
--- a/source/Target/PathMappingList.cpp
+++ b/source/Target/PathMappingList.cpp
@@ -13,7 +13,8 @@
#include "lldb/Core/Error.h"
#include "lldb/Core/Stream.h"
// Project includes
-#include "PathMappingList.h"
+#include "lldb/Target/PathMappingList.h"
+#include <string.h>
using namespace lldb;
using namespace lldb_private;