diff options
author | Torok Edwin <edwintorok@gmail.com> | 2008-04-04 16:08:00 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2008-04-04 16:08:00 +0000 |
commit | 3e3dc57d3ff2aa010a5ac873933a6107221b4c13 (patch) | |
tree | f09ead08d4ae75581a2b7116081410d2bc17e698 /lib/Target/Target.cpp | |
parent | b51a0d87ac4c3f9c651b2ff7cdf663dff18f995b (diff) |
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/Target/Target.cpp')
-rw-r--r-- | lib/Target/Target.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Target.cpp b/lib/Target/Target.cpp index 375cd642de7..35cf6489638 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; |