diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2016-05-31 23:23:33 +0200 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2016-05-31 23:23:33 +0200 |
commit | d2c46f2f476e8ae21c881dc54d3d773dfa98cffa (patch) | |
tree | 8f2b88b9c13d0c0795f6770e0a8fa0c130072354 /src/util/math.h | |
parent | c95aefb59c234375ba679420b96e246f6a270859 (diff) |
Replace #include <cmath> by <math.h> to fix a compile error using the gcc 6.1.1 header
Diffstat (limited to 'src/util/math.h')
-rw-r--r-- | src/util/math.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/math.h b/src/util/math.h index 4690f6d043..c0ec43b4a5 100644 --- a/src/util/math.h +++ b/src/util/math.h @@ -9,7 +9,10 @@ #define _USE_MATH_DEFINES #endif #endif -#include <cmath> + +#include <math.h> +// Note: #include <cmath> does not work with GCC 6.1.1 because of our fpclassify hack + #include <algorithm> #include "util/assert.h" |