aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 87261d4368..db57f73a1f 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -12,6 +12,7 @@
#include <string.h>
#include <stdlib.h>
+#include <math.h>
#include "nvim/vim.h"
#include "nvim/eval.h"
#include "nvim/buffer.h"
@@ -69,10 +70,6 @@
#include "nvim/os/time.h"
#include "nvim/os/channel.h"
-#if defined(FEAT_FLOAT)
-# include <math.h>
-#endif
-
#define DICT_MAXNEST 100 /* maximum nesting of lists and dicts */
#define DO_NOT_FREE_CNT 99999 /* refcount for dict or list that should not