Fix compile failures with g++-4.3.
authorDuncan Sands <baldrick@free.fr>
Wed, 9 Jan 2008 19:42:09 +0000 (19:42 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 9 Jan 2008 19:42:09 +0000 (19:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45781 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/DynamicLibrary.cpp
lib/System/Path.cpp

index eebd2b1f169b949c7832071fcd70a06b38d65d0b..a21f16ab327e71e45f68a4eb1cf35b8f882476c9 100644 (file)
@@ -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.
index 144959755efb83f92ae31890536810043feddb89..6f0667fba509d1ab7314cde74a96cdfbc547476b 100644 (file)
@@ -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;