summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Archive/Archive.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:08:44 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 11:08:44 +0000
commit579f07135afdc3975eb24a210433222b888dc9f7 (patch)
tree460fdcf6fe4d577708dcd3004a06536999972528 /llvm/lib/Archive/Archive.cpp
parentb912351ec908c049b5f40eab0052602c8dff31cd (diff)
downloadbcm5719-llvm-579f07135afdc3975eb24a210433222b888dc9f7.tar.gz
bcm5719-llvm-579f07135afdc3975eb24a210433222b888dc9f7.zip
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.
llvm-svn: 47367
Diffstat (limited to 'llvm/lib/Archive/Archive.cpp')
-rw-r--r--llvm/lib/Archive/Archive.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Archive/Archive.cpp b/llvm/lib/Archive/Archive.cpp
index 4eb9efbab8e..22934d51fe3 100644
--- a/llvm/lib/Archive/Archive.cpp
+++ b/llvm/lib/Archive/Archive.cpp
@@ -18,6 +18,8 @@
#include "llvm/Module.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/System/Process.h"
+#include <memory>
+#include <cstring>
using namespace llvm;
// getMemberSize - compute the actual physical size of the file member as seen
OpenPOWER on IntegriCloud