strdup needs <cstring>. This fixes a build error with g++-4.3.
authorTorok Edwin <edwintorok@gmail.com>
Fri, 4 Apr 2008 16:08:00 +0000 (16:08 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Fri, 4 Apr 2008 16:08:00 +0000 (16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49218 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.cpp

index 375cd642de7af35922d20a5d6c82f92d252093e0..35cf648963889e820923fae1349e020b672c2853 100644 (file)
@@ -15,6 +15,7 @@
 #include "llvm-c/Target.h"
 #include "llvm/PassManager.h"
 #include "llvm/Target/TargetData.h"
+#include <cstring>
 
 using namespace llvm;