--- ./libs/main/KoApplication.cpp.orig	2010-01-22 21:13:25.058565548 +0100
+++ ./libs/main/KoApplication.cpp	2010-01-22 21:13:38.489121717 +0100
@@ -17,6 +17,7 @@
    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  * Boston, MA 02110-1301, USA.
 */
+#include <math.h>
 
 #include "KoApplication.h"
 
--- ./kplato/workpackage/main.cpp.orig	2010-01-22 21:42:27.293971565 +0100
+++ ./kplato/workpackage/main.cpp	2010-01-22 21:42:32.434526557 +0100
@@ -17,6 +17,7 @@
  * Boston, MA 02110-1301, USA.
 */
 
+#include <math.h>
 
 #include "kplatowork_export.h"
 #include "aboutdata.h"
--- ./kplato/workpackage/mainwindow.cpp.orig	2010-01-22 21:34:41.716836203 +0100
+++ ./kplato/workpackage/mainwindow.cpp	2010-01-22 21:34:55.475172998 +0100
@@ -21,6 +21,8 @@
  * Boston, MA 02110-1301, USA.
 */
 
+#include <math.h>
+
 #include "mainwindow.h"
 #include "part.h"
 #include "view.h"
--- ./kplato/workpackage/application.cpp.orig	2010-01-22 21:39:34.984064828 +0100
+++ ./kplato/workpackage/application.cpp	2010-01-22 21:39:40.276281298 +0100
@@ -21,6 +21,8 @@
  * Boston, MA 02110-1301, USA.
 */
 
+#include <math.h>
+
 #include "application.h"
 #include "part.h"
 #include "mainwindow.h"
--- ./kplato/workpackage/view.cpp.orig	2010-01-22 21:37:17.610118479 +0100
+++ ./kplato/workpackage/view.cpp	2010-01-22 21:37:22.353698863 +0100
@@ -18,6 +18,8 @@
 * Boston, MA 02110-1301, USA.
 */
 
+#include <math.h>
+
 #include "view.h"
 #include "mainwindow.h"
 #include "taskworkpackageview.h"
