diff options
author | Jamie Bullock <jamie@jamiebullock.com> | 2014-02-12 08:36:58 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@jamiebullock.com> | 2014-02-12 08:36:58 +0000 |
commit | b1f7c9f6c440838da18f8c1d7712036c867e7a77 (patch) | |
tree | 78ba078977649a800c1a8a4e96fac247ccccf4b2 /src/scalar.c | |
parent | 962c6402abf922da0e2b07652b4a389960121eb8 (diff) | |
download | LibXtract-b1f7c9f6c440838da18f8c1d7712036c867e7a77.tar.gz LibXtract-b1f7c9f6c440838da18f8c1d7712036c867e7a77.tar.bz2 LibXtract-b1f7c9f6c440838da18f8c1d7712036c867e7a77.zip |
Include float.h on platforms that don't have DBL_MAX defined in limits.h
Diffstat (limited to 'src/scalar.c')
-rw-r--r-- | src/scalar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scalar.c b/src/scalar.c index 3ecd446..07dc77b 100644 --- a/src/scalar.c +++ b/src/scalar.c @@ -29,6 +29,10 @@ #include <math.h> #include <limits.h> +#ifndef DBL_MAX +#include <float.h> /* on Linux DBL_MAX is in float.h */ +#endif + #include "dywapitchtrack/dywapitchtrack.h" #include "../xtract/libxtract.h" |