summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJean-Francois Dockes <jf@dockes.org>2013-11-01 19:26:01 +0100
committerMax Kellermann <max@duempel.org>2014-01-09 20:56:00 +0100
commit406452f019f097bf52d8db529eabe8dd2d0e977a (patch)
treed70ce0b620cc97ed9d352f89063fa7cecffd6341 /test
parent12b139beafc191d02277e7ce97b4c59f7bb0c095 (diff)
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]
Diffstat (limited to 'test')
-rw-r--r--test/DumpDatabase.cxx9
1 files changed, 9 insertions, 0 deletions
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 <stdlib.h>
+#ifdef HAVE_LIBUPNP
+#include "InputStream.hxx"
+size_t
+InputStream::LockRead(void *, size_t, Error &)
+{
+ return 0;
+}
+#endif
+
static bool
DumpDirectory(const Directory &directory, Error &)
{