[PATCH] winebus.sys: Define BUS_BLUETOOTH if it is missing.

Rémi Bernon rbernon at codeweavers.com
Mon Oct 18 08:58:48 CDT 2021


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---

We are using it for the hidraw backend too, even if linux/input.h has
not been found (and it may also very well be missing there, like on
FreeBSD).

 dlls/winebus.sys/bus_udev.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/winebus.sys/bus_udev.c b/dlls/winebus.sys/bus_udev.c
index b857ba25df8..e137299df77 100644
--- a/dlls/winebus.sys/bus_udev.c
+++ b/dlls/winebus.sys/bus_udev.c
@@ -59,6 +59,10 @@
 # endif
 #endif
 
+#ifndef BUS_BLUETOOTH
+# define BUS_BLUETOOTH 5
+#endif
+
 #include <pthread.h>
 
 #include "ntstatus.h"
-- 
2.33.0




More information about the wine-devel mailing list