summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-20 22:55:55 +0000
committerCampbell Barton <ideasman42@gmail.com>2012-11-20 22:55:55 +0000
commitd463240d8fd961d45b47ba96e0d93c37e1719da7 (patch)
tree25be35855525cba941ff28f0d1ea7684dc1a258c /src/svg
parentFix for #970355, radial gradient using object bounding box. (diff)
downloadinkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.tar.gz
inkscape-d463240d8fd961d45b47ba96e0d93c37e1719da7.zip
code cleanup: quiet warnings with gcc.
(bzr r11888)
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/itos.cpp2
-rw-r--r--src/svg/round.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/svg/itos.cpp b/src/svg/itos.cpp
index ff7ca516c..78726d068 100644
--- a/src/svg/itos.cpp
+++ b/src/svg/itos.cpp
@@ -18,6 +18,8 @@
#include <string> // for string
#include <cstring>
+#include "../io/ftos.h" /* own include */ /* note - why in different dirs? */
+
using std::string;
string itos(int n)
diff --git a/src/svg/round.cpp b/src/svg/round.cpp
index 9e7b91e4e..0a4ca9d05 100644
--- a/src/svg/round.cpp
+++ b/src/svg/round.cpp
@@ -26,6 +26,7 @@
// on the average.
///////////////////////////////////////////////////////////////////////
#include <math.h>
+#include "../io/ftos.h" /* own include */ /* note - why in different dirs? */
double rround(double x)
{