summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/missing.h')
-rw-r--r--include/ruby/missing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/missing.h b/include/ruby/missing.h
index 0edb1ec6c0a..1297c43a7a6 100644
--- a/include/ruby/missing.h
+++ b/include/ruby/missing.h
@@ -20,6 +20,7 @@ extern "C" {
#include "ruby/config.h"
#include <stddef.h>
+#include <math.h> /* for INFINITY and NAN */
#ifdef RUBY_EXTCONF_H
#include RUBY_EXTCONF_H
#endif