From 1817724c4f277e3113e48a555a695116a90a08ab Mon Sep 17 00:00:00 2001 From: odaira Date: Wed, 23 Sep 2015 15:08:47 +0000 Subject: complex.c: ruby/config.h must be included before math.h because it defines _LARGE_FILES on AIX and _LARGE_FILES must be defined before sys/types.h is included from math.h. [Bug #11483] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- complex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'complex.c') diff --git a/complex.c b/complex.c index beaf6713a1..e3c20139f2 100644 --- a/complex.c +++ b/complex.c @@ -5,6 +5,7 @@ which is written in ruby. */ +#include "ruby/config.h" #if defined _MSC_VER /* Microsoft Visual C does not define M_PI and others by default */ # define _USE_MATH_DEFINES 1 -- cgit v1.2.3