diff --git a/lld/ELF/Thunks.h b/lld/ELF/Thunks.h index 21e99a0a8e287..5558da1a2c797 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 e5d87ba0a4e07..10cca2a1caad3 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 95e811a2f9f03..b37388cd38c43 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 {