From 01607d3819c40b5123c89c7c3a6a2c9ab4796f91 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:45:18 -0500 Subject: [PATCH] Workaround for #106521 (#106589) Co-authored-by: Jan Kotas --- src/native/external/zlib-ng/functable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/native/external/zlib-ng/functable.c b/src/native/external/zlib-ng/functable.c index 37c4aeef7d0e8..7ca05c9801673 100644 --- a/src/native/external/zlib-ng/functable.c +++ b/src/native/external/zlib-ng/functable.c @@ -3,6 +3,10 @@ * For conditions of distribution and use, see copyright notice in zlib.h */ +#if defined(_MSC_VER) +# include +#endif + #include "zbuild.h" #include "zendian.h" #include "crc32_braid_p.h" @@ -11,10 +15,6 @@ #include "functable.h" #include "cpu_features.h" -#if defined(_MSC_VER) -# include -#endif - /* Platform has pointer size atomic store */ #if defined(__GNUC__) || defined(__clang__) # define FUNCTABLE_ASSIGN(VAR, FUNC_NAME) \