Mercurial > hg > libxtract
diff src/scalar.c @ 195:e63fa5ad1902
Include float.h on platforms that don't have DBL_MAX defined in limits.h
author | Jamie Bullock <jamie@jamiebullock.com> |
---|---|
date | Wed, 12 Feb 2014 08:36:58 +0000 |
parents | bb60691d9570 |
children | e764049c0a82 |
line wrap: on
line diff
--- a/src/scalar.c Tue Feb 11 16:41:17 2014 +0000 +++ b/src/scalar.c Wed Feb 12 08:36:58 2014 +0000 @@ -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"