From 0c39baf6ef25df9c3e4d796363aadc190fa35f8f Mon Sep 17 00:00:00 2001 From: Saikari Date: Mon, 23 Dec 2024 09:23:06 +0300 Subject: [PATCH] Fix missing headers (#1143) --- src/MachO/BuildVersion.cpp | 1 + src/MachO/DylibCommand.cpp | 1 + src/MachO/SourceVersion.cpp | 1 + src/MachO/VersionMin.cpp | 1 + src/PE/Header.cpp | 1 + src/PE/OptionalHeader.cpp | 1 + src/PE/TLS.cpp | 1 + src/internal_utils.hpp | 2 ++ src/logging.hpp | 1 + 9 files changed, 10 insertions(+) diff --git a/src/MachO/BuildVersion.cpp b/src/MachO/BuildVersion.cpp index 6b021968ce..980d14e310 100644 --- a/src/MachO/BuildVersion.cpp +++ b/src/MachO/BuildVersion.cpp @@ -14,6 +14,7 @@ * limitations under the License. */ #include +#include #include "LIEF/Visitor.hpp" #include "frozen.hpp" diff --git a/src/MachO/DylibCommand.cpp b/src/MachO/DylibCommand.cpp index f571f84b6d..e37f19c0a9 100644 --- a/src/MachO/DylibCommand.cpp +++ b/src/MachO/DylibCommand.cpp @@ -14,6 +14,7 @@ * limitations under the License. */ #include "spdlog/fmt/fmt.h" +#include "spdlog/fmt/ranges.h" #include "LIEF/utils.hpp" #include "LIEF/Visitor.hpp" diff --git a/src/MachO/SourceVersion.cpp b/src/MachO/SourceVersion.cpp index b217229fca..71ed60865b 100644 --- a/src/MachO/SourceVersion.cpp +++ b/src/MachO/SourceVersion.cpp @@ -14,6 +14,7 @@ * limitations under the License. */ #include "spdlog/fmt/fmt.h" +#include "spdlog/fmt/ranges.h" #include "LIEF/Visitor.hpp" #include "LIEF/MachO/SourceVersion.hpp" diff --git a/src/MachO/VersionMin.cpp b/src/MachO/VersionMin.cpp index e6a6c1f108..a7e5e8d2ac 100644 --- a/src/MachO/VersionMin.cpp +++ b/src/MachO/VersionMin.cpp @@ -14,6 +14,7 @@ * limitations under the License. */ #include "spdlog/fmt/fmt.h" +#include "spdlog/fmt/ranges.h" #include "LIEF/Visitor.hpp" #include "LIEF/MachO/VersionMin.hpp" diff --git a/src/PE/Header.cpp b/src/PE/Header.cpp index 0e5d254c74..53f38bd65f 100644 --- a/src/PE/Header.cpp +++ b/src/PE/Header.cpp @@ -23,6 +23,7 @@ #include "frozen.hpp" #include +#include namespace LIEF { namespace PE { diff --git a/src/PE/OptionalHeader.cpp b/src/PE/OptionalHeader.cpp index 1f03ec28c8..67c1d58fe0 100644 --- a/src/PE/OptionalHeader.cpp +++ b/src/PE/OptionalHeader.cpp @@ -23,6 +23,7 @@ #include "PE/Structures.hpp" #include +#include namespace LIEF { namespace PE { diff --git a/src/PE/TLS.cpp b/src/PE/TLS.cpp index 6655244297..fe3e2fcaf6 100644 --- a/src/PE/TLS.cpp +++ b/src/PE/TLS.cpp @@ -21,6 +21,7 @@ #include "PE/Structures.hpp" #include "spdlog/fmt/fmt.h" +#include "spdlog/fmt/ranges.h" namespace LIEF { namespace PE { diff --git a/src/internal_utils.hpp b/src/internal_utils.hpp index b01b0c7543..5d18e62137 100644 --- a/src/internal_utils.hpp +++ b/src/internal_utils.hpp @@ -15,6 +15,7 @@ */ #ifndef LIEF_INTERNAL_UTILS_HEADER #define LIEF_INTERNAL_UTILS_HEADER +#include #include #include #include @@ -22,6 +23,7 @@ #include #include #include "spdlog/fmt/fmt.h" +#include "spdlog/fmt/ranges.h" #include "LIEF/span.hpp" #include "LIEF/errors.hpp" diff --git a/src/logging.hpp b/src/logging.hpp index 61a872bfb7..1151b63776 100644 --- a/src/logging.hpp +++ b/src/logging.hpp @@ -24,6 +24,7 @@ #include #include +#include #define LIEF_TRACE(...) LIEF::logging::Logger::instance().trace(__VA_ARGS__) #define LIEF_DEBUG(...) LIEF::logging::Logger::instance().debug(__VA_ARGS__)