From e13d1b5227a77bb7becfd4c49a60720ecc33f870 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 29 Apr 2023 16:25:06 +0900 Subject: [PATCH] llvm/lib: Use explicitly since D146395 has hidden `errno` Differential Revision: https://reviews.llvm.org/D149513 --- llvm/lib/Object/ArchiveWriter.cpp | 1 + llvm/lib/Support/JSON.cpp | 1 + llvm/lib/Support/Path.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/llvm/lib/Object/ArchiveWriter.cpp b/llvm/lib/Object/ArchiveWriter.cpp index 1a540e2..04c7d1d 100644 --- a/llvm/lib/Object/ArchiveWriter.cpp +++ b/llvm/lib/Object/ArchiveWriter.cpp @@ -34,6 +34,7 @@ #include "llvm/Support/SmallVectorMemoryBuffer.h" #include "llvm/Support/raw_ostream.h" +#include #include #if !defined(_MSC_VER) && !defined(__MINGW32__) diff --git a/llvm/lib/Support/JSON.cpp b/llvm/lib/Support/JSON.cpp index 0e7f7bf..19a9d30 100644 --- a/llvm/lib/Support/JSON.cpp +++ b/llvm/lib/Support/JSON.cpp @@ -14,6 +14,7 @@ #include "llvm/Support/raw_ostream.h" #include "llvm/Support/NativeFormatting.h" #include +#include #include namespace llvm { 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 +#include #if !defined(_MSC_VER) && !defined(__MINGW32__) #include -- 2.7.4