summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-01-09 19:42:09 +0000
committerDuncan Sands <baldrick@free.fr>2008-01-09 19:42:09 +0000
commitf52e32aab0422407cc8def93348667c255bb5d80 (patch)
treee24cf7c29c6dceb8c1caf9ce9d1a520962f7dc0e
parent8b44b9064427821ba2784ff3617d7cc5460df5de (diff)
downloadllvm-f52e32aab0422407cc8def93348667c255bb5d80.tar.gz
llvm-f52e32aab0422407cc8def93348667c255bb5d80.tar.bz2
llvm-f52e32aab0422407cc8def93348667c255bb5d80.tar.xz
Fix compile failures with g++-4.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45781 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/System/DynamicLibrary.cpp1
-rw-r--r--lib/System/Path.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/System/DynamicLibrary.cpp b/lib/System/DynamicLibrary.cpp
index eebd2b1f16..a21f16ab32 100644
--- a/lib/System/DynamicLibrary.cpp
+++ b/lib/System/DynamicLibrary.cpp
@@ -13,6 +13,7 @@
#include "llvm/System/DynamicLibrary.h"
#include "llvm/Config/config.h"
+#include <cstring>
#include <map>
// Collection of symbol name/value pairs to be searched prior to any libraries.
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp
index 144959755e..6f0667fba5 100644
--- a/lib/System/Path.cpp
+++ b/lib/System/Path.cpp
@@ -14,6 +14,7 @@
#include "llvm/System/Path.h"
#include "llvm/Config/config.h"
#include <cassert>
+#include <cstring>
#include <ostream>
using namespace llvm;
using namespace sys;