From: Adeel Mujahid <3840695+am11@users.noreply.github.com> Date: Wed, 28 Aug 2024 20:49:55 +0000 (+0300) Subject: Fix new Windows SDK build break X-Git-Tag: 2.2.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e7d0f3732dd6c252248f20ed394208c2a4da17;p=thirdparty%2Fzlib-ng.git Fix new Windows SDK build break Co-authored-by: Jan Kotas --- diff --git a/functable.c b/functable.c index 495d11edd..9fb6e3dea 100644 --- a/functable.c +++ b/functable.c @@ -4,15 +4,15 @@ */ #ifndef DISABLE_RUNTIME_CPU_DETECTION +#if defined(_MSC_VER) +# include +#endif + #include "zbuild.h" #include "functable.h" #include "cpu_features.h" #include "arch_functions.h" -#if defined(_MSC_VER) -# include -#endif - /* Platform has pointer size atomic store */ #if defined(__GNUC__) || defined(__clang__) # define FUNCTABLE_ASSIGN(VAR, FUNC_NAME) \