]> git.lyx.org Git - features.git/commitdiff
Add missing include for abs(int)
authorStephan Witt <switt@lyx.org>
Mon, 4 Jul 2016 18:36:16 +0000 (20:36 +0200)
committerStephan Witt <switt@lyx.org>
Mon, 4 Jul 2016 18:36:16 +0000 (20:36 +0200)
src/RowPainter.cpp
src/TextMetrics.cpp

index d6caa26d1a7fa9363d4e95a4ed83f7f944d87542..1c48b5bb348bd1dadc8bbeb6afc421a160ac9931 100644 (file)
@@ -45,6 +45,8 @@
 #include "support/lassert.h"
 #include <boost/crc.hpp>
 
+#include <stdlib.h>
+
 using namespace std;
 
 namespace lyx {
index b40cb5553010a2d298a2842b5d5ae7d1236a2dad..c7ccbac7fc2b9fea453c40c44f54d4ebb3a26e77 100644 (file)
@@ -48,6 +48,7 @@
 #include "support/debug.h"
 #include "support/lassert.h"
 
+#include <stdlib.h>
 #include <cmath>
 
 using namespace std;