From 226352afcbbc5af703f168c1290e07add26b44fe Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 21 Jan 2019 00:19:15 +0100 Subject: build: Fix -Wconversion warnings for fpclassify et al closes #8274 The parent commit tries a different approach, but that fails on Apple Clang version: Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin17.7.0 which somehow compiles the check_c_source_compiles() check, but then complains during later compilation that __fpclassify is not defined (regardless of "#include "). --- src/nvim/eval/encode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/eval/encode.c') diff --git a/src/nvim/eval/encode.c b/src/nvim/eval/encode.c index cf9ecd8d56..6074e4ee69 100644 --- a/src/nvim/eval/encode.c +++ b/src/nvim/eval/encode.c @@ -19,6 +19,7 @@ #include "nvim/eval/typval.h" #include "nvim/garray.h" #include "nvim/mbyte.h" +#include "nvim/math.h" #include "nvim/message.h" #include "nvim/memory.h" #include "nvim/charset.h" // vim_isprintc() -- cgit