--- a/libupnpp/device.hxx
+++ b/libupnpp/device.hxx
@@ -21,6 +21,8 @@
 #include <functional>
 
 #include "soaphelp.hxx"
+
+namespace UPnPProvider {
 
 class UpnpService;
 
@@ -145,4 +147,6 @@
     const std::string m_serviceId;
 };
 
+} // End namespace UPnPProvider
+
 #endif /* _DEVICE_H_X_INCLUDED_ */