# HG changeset patch # User Bram Moolenaar # Date 1663448403 -7200 # Node ID f0afaca0bf740ae651a0ae347b5e3c42199d78c3 # Parent c95eb7dfc03f72c7670b22ba4da821734d747cca patch 9.0.0494: small build misses float function declaraitons Commit: https://github.com/vim/vim/commit/96caa557f92f7e1fd61d4b401fefd30c91eb44f0 Author: Bram Moolenaar Date: Sat Sep 17 21:57:43 2022 +0100 patch 9.0.0494: small build misses float function declaraitons Problem: Small build misses float function declaraitons. Solution: Adjust #ifdefs. diff --git a/src/macros.h b/src/macros.h --- a/src/macros.h +++ b/src/macros.h @@ -261,12 +261,13 @@ # define MESSAGE_QUEUE #endif +#include +#if defined(HAVE_MATH_H) + // for isnan() and isinf() +# include +#endif + #if defined(FEAT_EVAL) -# include -# if defined(HAVE_MATH_H) - // for isnan() and isinf() -# include -# endif # ifdef USING_FLOAT_STUFF # ifdef MSWIN # ifndef isnan diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 494, +/**/ 493, /**/ 492,