From 217525ae6f6a117a0780620ed4fb1b94e03fd4d6 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Sun, 18 Aug 2024 10:03:53 -0700 Subject: [PATCH] Workaround for #106521 (#106578) --- 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) \