--- a/libupnpp/control/httpdownload.cxx
+++ b/libupnpp/control/httpdownload.cxx
@@ -43,6 +43,8 @@
 }
 
 
+namespace UPnPClient {
+
 bool downloadUrlWithCurl(const string& url, string& out, long timeoutsecs)
 {
     CURL *curl;
@@ -71,3 +73,5 @@
 
     return ret;
 }
+
+}