summaryrefslogtreecommitdiffstats
path: root/src/dom/io
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-03-26 16:03:49 +0000
committerAlex Valavanis <valavanisalex@googlemail.com>2013-03-26 16:03:49 +0000
commitd2bba282171a9e2c70a624794650689ec4531047 (patch)
tree726ae8aa2ae75cc8272f13fa09ed8abc56e60724 /src/dom/io
parentRevert r12183 and replace with better work-around for Pango bug (incorrect (diff)
downloadinkscape-d2bba282171a9e2c70a624794650689ec4531047.tar.gz
inkscape-d2bba282171a9e2c70a624794650689ec4531047.zip
Fix Glibmm inclusions for Gtk+ 3 builds and implement a Gtk+ 3 compatible check for X11 backend
Fixed bugs: - https://launchpad.net/bugs/1160252 - https://launchpad.net/bugs/1122774 (bzr r12247)
Diffstat (limited to 'src/dom/io')
-rw-r--r--src/dom/io/domstream.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dom/io/domstream.cpp b/src/dom/io/domstream.cpp
index 7118025d6..1f08c0eee 100644
--- a/src/dom/io/domstream.cpp
+++ b/src/dom/io/domstream.cpp
@@ -34,9 +34,10 @@
*
*/
+#include <cmath>
+#include <cstdarg>
#include <cstdio>
-#include <math.h>
-#include <stdarg.h>
+#include <cstdlib>
#include "domstream.h"
#include "dom/ucd.h"