about summary refs log tree commit diff
path: root/src/libexpr/expr-to-xml.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/expr-to-xml.hh')
-rw-r--r--src/libexpr/expr-to-xml.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libexpr/expr-to-xml.hh b/src/libexpr/expr-to-xml.hh
index 56f947e520..6b95c88f59 100644
--- a/src/libexpr/expr-to-xml.hh
+++ b/src/libexpr/expr-to-xml.hh
@@ -6,8 +6,10 @@
 
 #include "nixexpr.hh"
 
+namespace nix {
 
-void printTermAsXML(Expr e, ostream & out);
-
+void printTermAsXML(Expr e, std::ostream & out);
+    
+}
 
 #endif /* !__EXPR_TO_XML_H */