Code

Patch from Lubomir Rintel: fixes for GCC 4.4
[inkscape.git] / src / dom / xpathtoken.h
index 71e096d46c0b7b58d9784586993779505429ff7b..8683b2ee14bcb10be4ebd9dd4adebb0aec42d40b 100644 (file)
@@ -35,6 +35,7 @@
 
 #include <math.h>
 
+#include <cstdio>
 #include <vector>
 
 namespace org
@@ -628,14 +629,14 @@ public:
      */
     int execute(std::vector<Token> &tokens,
                 int position,
-                const Node *node,
+                const NodePtr node,
                 NodeList &nodeList);
 
     /**
      * Execute a token list on the stack
      */
     bool execute(TokenList &list,
-                 const Node *node,
+                 const NodePtr node,
                  NodeList &result);
 
 private: