aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
-rw-r--r--src/ex_cmds2.c4
-rw-r--r--src/message.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/src/eval.c b/src/eval.c
index ad780e3024..74474a4bde 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -64,7 +64,7 @@
#include "os/os.h"
#include "os/shell.h"
-#if defined(FEAT_FLOAT) && defined(HAVE_MATH_H)
+#if defined(FEAT_FLOAT)
# include <math.h>
#endif
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index d0e27d0248..5b7e32fcce 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -824,9 +824,7 @@ proftime_T *tm;
}
-# if defined(HAVE_MATH_H)
-# include <math.h>
-# endif
+#include <math.h>
/*
* Divide the time "tm" by "count" and store in "tm2".
diff --git a/src/message.c b/src/message.c
index 82cdb07598..76547c97d7 100644
--- a/src/message.c
+++ b/src/message.c
@@ -35,7 +35,7 @@
#include "ui.h"
#include "os/os.h"
-#if defined(FEAT_FLOAT) && defined(HAVE_MATH_H)
+#if defined(FEAT_FLOAT)
# include <math.h>
#endif