add missing include
authorRobin Gareus <robin@gareus.org>
Tue, 6 Oct 2015 19:32:55 +0000 (21:32 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 6 Oct 2015 19:32:55 +0000 (21:32 +0200)
libs/ardour/test/dsp_load_calculator_test.cc

index b4a9ed236b63aa24c1955057c14beb5d68648622..6b774e5b48019f3c91bb3fbf721f732d70637b52 100644 (file)
@@ -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