From a1296a0333389bc92d26efdddcde8b00bebf0029 Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Sat, 21 Oct 2023 19:06:47 +0200 Subject: [PATCH] iox-#2044 Fix Windows build --- iceoryx_dust/container/include/iox/fixed_position_container.hpp | 2 ++ .../win/include/iceoryx_platform/platform_correction.hpp | 1 + 2 files changed, 3 insertions(+) diff --git a/iceoryx_dust/container/include/iox/fixed_position_container.hpp b/iceoryx_dust/container/include/iox/fixed_position_container.hpp index bfd37e63dfc..7f6630ddf62 100644 --- a/iceoryx_dust/container/include/iox/fixed_position_container.hpp +++ b/iceoryx_dust/container/include/iox/fixed_position_container.hpp @@ -21,6 +21,8 @@ #include "iox/algorithm.hpp" #include "iox/uninitialized_array.hpp" +#include "iceoryx_platform/platform_correction.hpp" + #include #include #include diff --git a/iceoryx_platform/win/include/iceoryx_platform/platform_correction.hpp b/iceoryx_platform/win/include/iceoryx_platform/platform_correction.hpp index 07b1121f9aa..b9b3a66f02f 100644 --- a/iceoryx_platform/win/include/iceoryx_platform/platform_correction.hpp +++ b/iceoryx_platform/win/include/iceoryx_platform/platform_correction.hpp @@ -42,6 +42,7 @@ #undef OPEN_EXISTING #undef IGNORE #undef OPTIONAL +#undef CONST /// @todo iox-#1616 required by posix but defined in libc header string.h /// move it into the upcoming libc layer in platform