]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/klistview.cpp
Fix for not C99 compliant systems when trying to use trunc() function. I have defined...
[dolphin.git] / src / klistview.cpp
index 1cba47b1bd44c2c8e785beaa0f5b03bf359a3d4f..9be5dadd8c249ebcd09d6227295dc4aecdd2d98b 100644 (file)
@@ -21,7 +21,8 @@
 #include "klistview.h"
 #include "klistview_p.h"
 
-#include <math.h> // trunc
+#include <math.h> // trunc on C99 compliant systems
+#include <kdefakes.h> // trunc for not C99 compliant systems
 
 #include <QApplication>
 #include <QPainter>