--- a/libupnpp/control/cdircontent.hxx
+++ b/libupnpp/control/cdircontent.hxx
@@ -24,6 +24,8 @@
#include "libupnpp/upnpavutils.hxx"
+namespace UPnPClient {
+
/**
* UPnP resource. A resource describes one of the entities associated with
* a directory entry. This would be typically the audio file URI, and
@@ -114,7 +116,7 @@
//?? Avoid returning 0, who knows...
return 1;
}
- return upnpdurationtos(sdur);
+ return UPnPP::upnpdurationtos(sdur);
}
/**
@@ -198,4 +200,6 @@
bool parse(const std::string& didltext);
};
+} // namespace
+
#endif /* _UPNPDIRCONTENT_H_X_INCLUDED_ */