diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-ld/llvm-ld.cpp | 1 | ||||
-rw-r--r-- | tools/llvm-upgrade/UpgradeInternals.h | 2 | ||||
-rw-r--r-- | tools/llvmc/llvmc.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp index 9d0d93fd83..6657c7c7fd 100644 --- a/tools/llvm-ld/llvm-ld.cpp +++ b/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/tools/llvm-upgrade/UpgradeInternals.h b/tools/llvm-upgrade/UpgradeInternals.h index 199e5cfbb2..c3d816bc13 100644 --- a/tools/llvm-upgrade/UpgradeInternals.h +++ b/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/tools/llvmc/llvmc.cpp b/tools/llvmc/llvmc.cpp index cf3bc09fb9..2bb4069247 100644 --- a/tools/llvmc/llvmc.cpp +++ b/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; //===----------------------------------------------------------------------===// |