commit 6c4f30b19358996679edb3b81f107e0a893f618b
Author: Stephan Witt <[email protected]>
Date: Mon Jul 4 20:36:16 2016 +0200
Add missing include for abs(int)
---
src/RowPainter.cpp | 2 ++
src/TextMetrics.cpp | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp
index d6caa26..1c48b5b 100644
--- a/src/RowPainter.cpp
+++ b/src/RowPainter.cpp
@@ -45,6 +45,8 @@
#include "support/lassert.h"
#include <boost/crc.hpp>
+#include <stdlib.h>
+
using namespace std;
namespace lyx {
diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp
index b40cb55..c7ccbac 100644
--- a/src/TextMetrics.cpp
+++ b/src/TextMetrics.cpp
@@ -48,6 +48,7 @@
#include "support/debug.h"
#include "support/lassert.h"
+#include <stdlib.h>
#include <cmath>
using namespace std;