From b7295d55bbd2d3ac92284550edf582ecb0b904a2 Mon Sep 17 00:00:00 2001 From: Martin Olivier Date: Fri, 26 Jul 2024 16:22:21 +0200 Subject: [PATCH] fix: win build --- src/symbols.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/symbols.cpp b/src/symbols.cpp index 72066a0..c6e902d 100644 --- a/src/symbols.cpp +++ b/src/symbols.cpp @@ -13,8 +13,6 @@ #include #include -#include -#include #include std::string get_demangled_name(const char *symbol); @@ -81,6 +79,8 @@ std::vector get_symbols(HMODULE hModule, bool demangle) { #include #include #include +#include +#include std::vector get_symbols_at_off(int fd, bool demangle, off_t offset, bool is_64_bit) { std::vector result; @@ -218,6 +218,8 @@ std::vector get_symbols(int fd, bool demangle) { #include #include +#include +#include std::vector get_symbols(int fd, bool demangle) { std::vector result;