summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tool/node.h')
-rw-r--r--src/ui/tool/node.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h
index b874949f5..4582d998a 100644
--- a/src/ui/tool/node.h
+++ b/src/ui/tool/node.h
@@ -12,6 +12,10 @@
#ifndef SEEN_UI_TOOL_NODE_H
#define SEEN_UI_TOOL_NODE_H
+#if HAVE_CONFIG_H
+ #include "config.h"
+#endif
+
#include <iterator>
#include <iosfwd>
#include <stdexcept>
@@ -37,7 +41,7 @@ template <typename> class NodeIterator;
}
}
-#if __cplusplus < 201103L
+#if HAVE_TR1_UNORDERED_SET
namespace std {
namespace tr1 {
template <typename N> struct hash< Inkscape::UI::NodeIterator<N> >;