summaryrefslogtreecommitdiff
path: root/src/webserver_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webserver_main.cpp')
-rw-r--r--src/webserver_main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index f49b25d0ce..ff0bbd7420 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -12,6 +12,7 @@
#include <image_upload.hpp>
#include <kvm_websocket.hpp>
#include <login_routes.hpp>
+#include <nbd_proxy.hpp>
#include <obmc_console.hpp>
#include <openbmc_dbus_rest.hpp>
#include <redfish.hpp>
@@ -27,10 +28,6 @@
#include <memory>
#include <string>
-#ifdef BMCWEB_ENABLE_VM_NBDPROXY
-#include <nbd_proxy.hpp>
-#endif
-
constexpr int defaultPort = 18080;
inline void setupSocket(crow::App& app)