diff options
| -rw-r--r-- | llvm/lib/Transforms/Utils/Local.cpp | 1 | ||||
| -rw-r--r-- | llvm/tools/llvm-nm/llvm-nm.cpp | 1 | 
2 files changed, 2 insertions, 0 deletions
| diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp index 6a1688a4254..64cd1037a98 100644 --- a/llvm/lib/Transforms/Utils/Local.cpp +++ b/llvm/lib/Transforms/Utils/Local.cpp @@ -15,6 +15,7 @@  #include "llvm/Transforms/Utils/Local.h"  #include "llvm/Constants.h"  #include "llvm/Instructions.h" +#include <cerrno>  #include <cmath>  using namespace llvm; diff --git a/llvm/tools/llvm-nm/llvm-nm.cpp b/llvm/tools/llvm-nm/llvm-nm.cpp index c5930e93728..6aaf7d2f74b 100644 --- a/llvm/tools/llvm-nm/llvm-nm.cpp +++ b/llvm/tools/llvm-nm/llvm-nm.cpp @@ -22,6 +22,7 @@  #include "Support/FileUtilities.h"  #include "Support/Signals.h"  #include <cctype> +#include <cerrno>  #include <cstring>  using namespace llvm; | 

