aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-72/files/patch-src_VBox_Main_include_HostPower.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/virtualbox-ose-72/files/patch-src_VBox_Main_include_HostPower.h')
-rw-r--r--emulators/virtualbox-ose-72/files/patch-src_VBox_Main_include_HostPower.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-72/files/patch-src_VBox_Main_include_HostPower.h b/emulators/virtualbox-ose-72/files/patch-src_VBox_Main_include_HostPower.h
new file mode 100644
index 000000000000..90bd737f000d
--- /dev/null
+++ b/emulators/virtualbox-ose-72/files/patch-src_VBox_Main_include_HostPower.h
@@ -0,0 +1,20 @@
+--- src/VBox/Main/include/HostPower.h.orig 2025-08-13 19:51:21 UTC
++++ src/VBox/Main/include/HostPower.h
+@@ -41,7 +41,7 @@
+
+ #include <vector>
+
+-#ifdef RT_OS_LINUX
++#if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD)
+ # include <VBox/dbus.h>
+ #endif
+
+@@ -77,7 +77,7 @@ class HostPowerServiceWin : public HostPowerService (p
+ RTTHREAD mThread;
+ };
+ # endif
+-# if defined(RT_OS_LINUX) || defined(DOXYGEN_RUNNING)
++# if defined(RT_OS_LINUX) || defined(RT_OS_FREEBSD) || defined(DOXYGEN_RUNNING)
+ /**
+ * The Linux hosted Power Service.
+ */