From d93b678abb31eaa831a7358e9b935be2d5cba445 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 3 Jun 2021 18:54:23 +0200 Subject: [PATCH] [lld] Add missing includes (NFC) Fix lld build after 983565a6fe4a9f40c7caf82b65c650c20dbcc104. --- lld/ELF/Thunks.h | 1 + lld/MachO/OutputSegment.h | 1 + lld/include/lld/Common/Timer.h | 1 + 3 files changed, 3 insertions(+) diff --git a/lld/ELF/Thunks.h b/lld/ELF/Thunks.h index 21e99a0a8e28..5558da1a2c79 100644 --- a/lld/ELF/Thunks.h +++ b/lld/ELF/Thunks.h @@ -9,6 +9,7 @@ #ifndef LLD_ELF_THUNKS_H #define LLD_ELF_THUNKS_H +#include "llvm/ADT/SmallVector.h" #include "Relocations.h" namespace lld { diff --git a/lld/MachO/OutputSegment.h b/lld/MachO/OutputSegment.h index e5d87ba0a4e0..10cca2a1caad 100644 --- a/lld/MachO/OutputSegment.h +++ b/lld/MachO/OutputSegment.h @@ -13,6 +13,7 @@ #include "lld/Common/LLVM.h" #include +#include namespace lld { namespace macho { diff --git a/lld/include/lld/Common/Timer.h b/lld/include/lld/Common/Timer.h index 95e811a2f9f0..b37388cd38c4 100644 --- a/lld/include/lld/Common/Timer.h +++ b/lld/include/lld/Common/Timer.h @@ -16,6 +16,7 @@ #include #include #include +#include namespace lld {