From 5c1bad71553db2deb9e2e475e9aba5b00ce437d8 Mon Sep 17 00:00:00 2001 From: hdL6c <107304850+istori1@users.noreply.github.com> Date: Thu, 11 Apr 2024 23:34:26 -0400 Subject: [PATCH] Musl Linux fixes (#2401) --- cmake/targets/unix.cmake | 2 +- src/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/targets/unix.cmake b/cmake/targets/unix.cmake index 2ce0378f..5527a987 100644 --- a/cmake/targets/unix.cmake +++ b/cmake/targets/unix.cmake @@ -5,4 +5,4 @@ add_custom_target(web-ui ALL WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" COMMENT "Installing NPM Dependencies and Building the Web UI" - COMMAND bash -c \"npm install && SUNSHINE_BUILD_HOMEBREW=${NPM_BUILD_HOMEBREW} SUNSHINE_SOURCE_ASSETS_DIR=${NPM_SOURCE_ASSETS_DIR} SUNSHINE_ASSETS_DIR=${NPM_ASSETS_DIR} npm run build\") # cmake-lint: disable=C0301 + COMMAND sh -c \"npm install && SUNSHINE_BUILD_HOMEBREW=${NPM_BUILD_HOMEBREW} SUNSHINE_SOURCE_ASSETS_DIR=${NPM_SOURCE_ASSETS_DIR} SUNSHINE_ASSETS_DIR=${NPM_ASSETS_DIR} npm run build\") # cmake-lint: disable=C0301 diff --git a/src/main.cpp b/src/main.cpp index 22d9e4c4..208951d4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,7 @@ */ // standard includes +#include #include #include #include