diff --git a/include/dynamic-graph/contiifstream.h b/include/dynamic-graph/contiifstream.h
index 583aa232f1a23db05f701a585352fd588c8f17fd..6f82d78cc2ab73ddd84a640feefcb639c8468161 100644
--- a/include/dynamic-graph/contiifstream.h
+++ b/include/dynamic-graph/contiifstream.h
@@ -52,6 +52,8 @@
 #else
 #  define DYNAMICGRAPHCONTIIFSTREAM_EXPORT
 #endif
+
+namespace dynamicgraph {
 /* --------------------------------------------------------------------- */
 /* --- CLASS ----------------------------------------------------------- */
 /* --------------------------------------------------------------------- */
@@ -79,7 +81,7 @@ public: /* --- READ LIST --- */
   
 
 };
-
+} // namespace dynamicgraph
 
 #endif /* #ifndef __CONTIIFSTREAM_HH__ */
 
diff --git a/src/debug/contiifstream.cpp b/src/debug/contiifstream.cpp
index 78c35579f6e07eaa86ab2514982bfb1988a61041..c926ac03cb1972ff83a9acb3d234dcb9c0bbdf67 100644
--- a/src/debug/contiifstream.cpp
+++ b/src/debug/contiifstream.cpp
@@ -20,6 +20,8 @@
 #include <dynamic-graph/contiifstream.h>
 #include <dynamic-graph/debug.h>
 
+using namespace dynamicgraph;
+
 Contiifstream::
 Contiifstream( const std::string& n )
   :filename(n),cursor(0),first(true) {}