summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-02-24 22:33:30 +0100
committerMax Kellermann <max@musicpd.org>2018-02-24 22:44:34 +0100
commit50ce0c0d9d8f34bb8bd4a45152cff5da803710d5 (patch)
treec6b6f4616a03e4e4780f7c0a9d156a9965e1aa0b
parent5b80711d75ea6b958aa7702e9857f7c51c43584f (diff)
test/run_storage: initialize WinSock
-rw-r--r--test/run_storage.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run_storage.cxx b/test/run_storage.cxx
index 805211fe0..ba889283f 100644
--- a/test/run_storage.cxx
+++ b/test/run_storage.cxx
@@ -23,6 +23,7 @@
#include "storage/Registry.hxx"
#include "storage/StorageInterface.hxx"
#include "storage/FileInfo.hxx"
+#include "net/Init.hxx"
#include <memory>
#include <stdexcept>
@@ -95,6 +96,7 @@ try {
const char *const command = argv[1];
const char *const storage_uri = argv[2];
+ const ScopeNetInit net_init;
const ScopeIOThread io_thread;
if (strcmp(command, "ls") == 0) {