summaryrefslogtreecommitdiffstats
path: root/src/util/math.h
diff options
context:
space:
mode:
authorDaniel Schürmann <daschuer@mixxx.org>2016-05-31 23:23:33 +0200
committerDaniel Schürmann <daschuer@mixxx.org>2016-05-31 23:23:33 +0200
commitd2c46f2f476e8ae21c881dc54d3d773dfa98cffa (patch)
tree8f2b88b9c13d0c0795f6770e0a8fa0c130072354 /src/util/math.h
parentc95aefb59c234375ba679420b96e246f6a270859 (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.h5
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"