summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorRory OConnell <[email protected]>2020-05-31 20:11:38 -0700
committerRory OConnell <[email protected]>2020-05-31 20:11:38 -0700
commit89ceb3e7baf54cc3360a76c94b02249e7afc491e (patch)
tree91016e6eb79f86fc58cd74850261a8e09b537f68 /include
parentd5cca2bdb2a0352e3253cf3ba2a79157dde5f163 (diff)
downloadmruby-89ceb3e7baf54cc3360a76c94b02249e7afc491e.tar.gz
mruby-89ceb3e7baf54cc3360a76c94b02249e7afc491e.zip
Fix float constant redefinition warnings
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index af7503375..2fd075112 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -76,6 +76,7 @@
#include <mruby/version.h>
#ifndef MRB_WITHOUT_FLOAT
+#include <float.h>
#ifndef FLT_EPSILON
#define FLT_EPSILON (1.19209290e-07f)
#endif