[llvm-commits] [llvm] r45781 - in /llvm/trunk/lib/System: DynamicLibrary.cpp Path.cpp

Duncan Sands baldrick at free.fr
Wed Jan 9 11:42:09 PST 2008


Author: baldrick
Date: Wed Jan  9 13:42:09 2008
New Revision: 45781

URL: http://llvm.org/viewvc/llvm-project?rev=45781&view=rev
Log:
Fix compile failures with g++-4.3.

Modified:
    llvm/trunk/lib/System/DynamicLibrary.cpp
    llvm/trunk/lib/System/Path.cpp

Modified: llvm/trunk/lib/System/DynamicLibrary.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/DynamicLibrary.cpp?rev=45781&r1=45780&r2=45781&view=diff

==============================================================================
--- llvm/trunk/lib/System/DynamicLibrary.cpp (original)
+++ llvm/trunk/lib/System/DynamicLibrary.cpp Wed Jan  9 13:42:09 2008
@@ -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.

Modified: llvm/trunk/lib/System/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Path.cpp?rev=45781&r1=45780&r2=45781&view=diff

==============================================================================
--- llvm/trunk/lib/System/Path.cpp (original)
+++ llvm/trunk/lib/System/Path.cpp Wed Jan  9 13:42:09 2008
@@ -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;





More information about the llvm-commits mailing list