projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2237389
)
add missing include
author
Robin Gareus
<robin@gareus.org>
Tue, 6 Oct 2015 19:32:55 +0000
(21:32 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 6 Oct 2015 19:32:55 +0000
(21:32 +0200)
libs/ardour/test/dsp_load_calculator_test.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/test/dsp_load_calculator_test.cc
b/libs/ardour/test/dsp_load_calculator_test.cc
index b4a9ed236b63aa24c1955057c14beb5d68648622..6b774e5b48019f3c91bb3fbf721f732d70637b52 100644
(file)
--- a/
libs/ardour/test/dsp_load_calculator_test.cc
+++ b/
libs/ardour/test/dsp_load_calculator_test.cc
@@
-19,6
+19,7
@@
CPPUNIT_TEST_SUITE_REGISTRATION (DSPLoadCalculatorTest);
* Anyway, actual maths is verified with Linux and OSX unit-tests,
* and this needs to go to https://sourceforge.net/p/cppunit/bugs/
*/
+#include <math.h>
#define CPPUNIT_ASSERT_DOUBLES_EQUAL(A,B,P) CPPUNIT_ASSERT_EQUAL((float)rint ((A) / (P)),(float)rint ((B) / (P)))
#endif