diff -ruN simgear-2.4.0/debian/changelog simgear-2.4.0.mv/debian/changelog
--- simgear-2.4.0/debian/changelog	2012-05-20 00:08:20.000000000 +0100
+++ simgear-2.4.0.mv/debian/changelog	2012-05-20 00:11:11.000000000 +0100
@@ -1,3 +1,10 @@
+simgear (2.4.0-1.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * simgear/math/SGMisc.hxx: Include <cmath> for floor.  Closes: #667373.
+
+ -- Matej Vela <vela@debian.org>  Sun, 20 May 2012 00:10:51 +0100
+
 simgear (2.4.0-1.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -ruN simgear-2.4.0/simgear/math/SGMisc.hxx simgear-2.4.0.mv/simgear/math/SGMisc.hxx
--- simgear-2.4.0/simgear/math/SGMisc.hxx	2011-01-18 19:39:40.000000000 +0000
+++ simgear-2.4.0.mv/simgear/math/SGMisc.hxx	2012-05-19 19:24:01.000000000 +0100
@@ -18,6 +18,8 @@
 #ifndef SGMisc_H
 #define SGMisc_H
 
+#include <cmath>
+
 template<typename T>
 class SGMisc {
 public:
