]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix for not C99 compliant systems when trying to use trunc() function. I have defined...
authorRafael Fernández López <ereslibre@kde.org>
Tue, 19 Jun 2007 17:09:27 +0000 (17:09 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Tue, 19 Jun 2007 17:09:27 +0000 (17:09 +0000)
BUG: 146963

svn path=/trunk/KDE/kdebase/apps/; revision=677663

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>