diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 11:08:44 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-20 11:08:44 +0000 |
| commit | 579f07135afdc3975eb24a210433222b888dc9f7 (patch) | |
| tree | 460fdcf6fe4d577708dcd3004a06536999972528 /llvm/tools | |
| parent | b912351ec908c049b5f40eab0052602c8dff31cd (diff) | |
| download | bcm5719-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/tools')
| -rw-r--r-- | llvm/tools/llvm-ld/llvm-ld.cpp | 1 | ||||
| -rw-r--r-- | llvm/tools/llvm-upgrade/UpgradeInternals.h | 2 | ||||
| -rw-r--r-- | llvm/tools/llvmc/llvmc.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ld/llvm-ld.cpp b/llvm/tools/llvm-ld/llvm-ld.cpp index 9d0d93fd830..6657c7c7fd2 100644 --- a/llvm/tools/llvm-ld/llvm-ld.cpp +++ b/llvm/tools/llvm-ld/llvm-ld.cpp @@ -38,6 +38,7 @@ #include "llvm/System/Signals.h" #include <fstream> #include <memory> +#include <cstring> using namespace llvm; // Input/Output Options diff --git a/llvm/tools/llvm-upgrade/UpgradeInternals.h b/llvm/tools/llvm-upgrade/UpgradeInternals.h index 199e5cfbb23..c3d816bc13b 100644 --- a/llvm/tools/llvm-upgrade/UpgradeInternals.h +++ b/llvm/tools/llvm-upgrade/UpgradeInternals.h @@ -22,7 +22,7 @@ #include "llvm/ADT/StringExtras.h" #include <list> #include <iostream> - +#include <cstring> // Global variables exported from the lexer. extern int yydebug; diff --git a/llvm/tools/llvmc/llvmc.cpp b/llvm/tools/llvmc/llvmc.cpp index cf3bc09fb9b..2bb40692479 100644 --- a/llvm/tools/llvmc/llvmc.cpp +++ b/llvm/tools/llvmc/llvmc.cpp @@ -21,6 +21,7 @@ #include "llvm/Support/ManagedStatic.h" #include "llvm/System/Signals.h" #include <iostream> +#include <cstring> using namespace llvm; //===----------------------------------------------------------------------===// |

