Skip to content

Commit c98741a

Browse files
committed
include <math.h> before checking INFINITY, NAN and other math.h
constants.
1 parent f2c7cd2 commit c98741a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/ruby/missing.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ extern "C" {
2020

2121
#include "ruby/config.h"
2222
#include <stddef.h>
23+
#include <math.h>
2324
#ifdef RUBY_EXTCONF_H
2425
#include RUBY_EXTCONF_H
2526
#endif

0 commit comments

Comments
 (0)