diff --git a/swig/boost_shared_ptr.i b/swig/boost_shared_ptr.i
index 1db8cbec5a26b3ca7b3709277971d8bc1ef6c9ad..7803b22154c79cba53773442e3387ca0e466f7da 100644
--- a/swig/boost_shared_ptr.i
+++ b/swig/boost_shared_ptr.i
@@ -4,7 +4,7 @@
 #ifndef SWIG_BOOST_SHAREDPTR
 #define SWIG_BOOST_SHAREDPTR
 
-%module swig_boost_shared_ptr
+%module boost_shared_ptr
 %{
 %}
 
@@ -20,4 +20,6 @@ namespace boost {
   };
 }
 
+using namespace boost;
+
 #endif /* SWIG_BOOST_SHAREDPTR */