From 406452f019f097bf52d8db529eabe8dd2d0e977a Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Fri, 1 Nov 2013 19:26:01 +0100 Subject: UPnP database plugin [mk: renamed source files, applied coding style, reduced bloat, using MPD's threading library, using MPD's error reporting and logging library and refactoring, fixed lots of bugs] --- test/DumpDatabase.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx index 6e9259238..52f7fbd02 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -39,6 +39,15 @@ using std::endl; #include +#ifdef HAVE_LIBUPNP +#include "InputStream.hxx" +size_t +InputStream::LockRead(void *, size_t, Error &) +{ + return 0; +} +#endif + static bool DumpDirectory(const Directory &directory, Error &) { -- cgit v1.2.3