From e3009e4645d3a4ecaf2e65f75c6b997a5ed5dbfb Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Wed, 16 Feb 2022 15:42:37 -0800 Subject: Make nbd-proxy header build in all cases We very intentionally don't do this "only include header if option is enabled" thing to make sure that compile issues are seen across all builds. Tested: Code compiles. Header changes only. Signed-off-by: Ed Tanous Change-Id: I749aed62ed6cd73690f3d89d75df65bec77562c2 --- src/webserver_main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') 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 #include #include +#include #include #include #include @@ -27,10 +28,6 @@ #include #include -#ifdef BMCWEB_ENABLE_VM_NBDPROXY -#include -#endif - constexpr int defaultPort = 18080; inline void setupSocket(crow::App& app) -- cgit v1.2.3