aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2023-04-29 16:25:06 +0900
committerNAKAMURA Takumi <geek4civic@gmail.com>2023-05-11 23:31:56 +0900
commite13d1b5227a77bb7becfd4c49a60720ecc33f870 (patch)
tree83edc94785cea676e1d3168a81c9c7dce9dae9da /llvm/lib/Support/Path.cpp
parent33b69b97565cf19f8e11173fd851e56ce07656f0 (diff)
downloadllvm-e13d1b5227a77bb7becfd4c49a60720ecc33f870.zip
llvm-e13d1b5227a77bb7becfd4c49a60720ecc33f870.tar.gz
llvm-e13d1b5227a77bb7becfd4c49a60720ecc33f870.tar.bz2
llvm/lib: Use <cerrno> explicitly since D146395 has hidden `errno`
Differential Revision: https://reviews.llvm.org/D149513
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp
index d08d451..852261c 100644
--- a/llvm/lib/Support/Path.cpp
+++ b/llvm/lib/Support/Path.cpp
@@ -22,6 +22,7 @@
#include "llvm/Support/Process.h"
#include "llvm/Support/Signals.h"
#include <cctype>
+#include <cerrno>
#if !defined(_MSC_VER) && !defined(__MINGW32__)
#include <unistd.h>