Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix windows build, add winapi features

21pages75feb90b1993
diff --git a/Cargo.lock b/Cargo.lock
index 496767787..980832b5a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5887,7 +5887,7 @@ dependencies = [
[[package]]
name = "sysinfo"
version = "0.29.10"
-source = "git+https://github.com/GuillaumeGomez/sysinfo#f45dcc6510d48c3a1401c5a33eedccc8899f67b2"
+source = "git+https://github.com/rustdesk-org/sysinfo#f45dcc6510d48c3a1401c5a33eedccc8899f67b2"
dependencies = [
"cfg-if 1.0.0",
"core-foundation-sys 0.8.4",
diff --git a/libs/hbb_common/Cargo.toml b/libs/hbb_common/Cargo.toml
index 773116409..a9d11a244 100644
--- a/libs/hbb_common/Cargo.toml
+++ b/libs/hbb_common/Cargo.toml
@@ -53,7 +53,7 @@ flatpak = []
protobuf-codegen = { version = "3.2" }
[target.'cfg(target_os = "windows")'.dependencies]
-winapi = { version = "0.3", features = ["winuser"] }
+winapi = { version = "0.3", features = ["winuser", "synchapi", "pdh", "memoryapi"] }
[target.'cfg(target_os = "macos")'.dependencies]
osascript = "0.3"