aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEdwin Török <edwintorok@gmail.com>2008-04-04 16:08:00 +0000
committerEdwin Török <edwintorok@gmail.com>2008-04-04 16:08:00 +0000
commitad7fe294d14ab664a4926a962da080e5b7230937 (patch)
treef09ead08d4ae75581a2b7116081410d2bc17e698 /lib
parent9f7caaf493ec0761951764f919e657ea04349f50 (diff)
downloadexternal_llvm-ad7fe294d14ab664a4926a962da080e5b7230937.zip
external_llvm-ad7fe294d14ab664a4926a962da080e5b7230937.tar.gz
external_llvm-ad7fe294d14ab664a4926a962da080e5b7230937.tar.bz2
strdup needs <cstring>. This fixes a build error with g++-4.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/Target.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Target.cpp b/lib/Target/Target.cpp
index 375cd64..35cf648 100644
--- a/lib/Target/Target.cpp
+++ b/lib/Target/Target.cpp
@@ -15,6 +15,7 @@
#include "llvm-c/Target.h"
#include "llvm/PassManager.h"
#include "llvm/Target/TargetData.h"
+#include <cstring>
using namespace llvm;