From ab9de4c7e83db03a63a1624e5bd207a09fcd7c9f Mon Sep 17 00:00:00 2001 From: fufesou Date: Tue, 29 Nov 2022 23:17:27 +0800 Subject: [PATCH] fix build Signed-off-by: fufesou --- src/server/video_service.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/video_service.rs b/src/server/video_service.rs index 173373dbc..c8f59d60d 100644 --- a/src/server/video_service.rs +++ b/src/server/video_service.rs @@ -661,6 +661,7 @@ fn run(sp: GenericService) -> ResultType<()> { } } + #[cfg(target_os = "linux")] if !scrap::is_x11() { super::wayland::release_resouce(); }