From 50ce0c0d9d8f34bb8bd4a45152cff5da803710d5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 24 Feb 2018 22:33:30 +0100 Subject: [PATCH] test/run_storage: initialize WinSock --- test/run_storage.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 #include @@ -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) {