From: Gerald Pfeifer gerald@pfeifer.com
This addresses a regression introduced by commit e603bbf69c7 where we'd get dlls/winebus.sys/bus_udev.c: In function ‘lnxev_device_haptics_thread’: dlls/winebus.sys/bus_udev.c:711:36: error: ‘__u16’ undeclared on FreeBSD 13. --- dlls/winebus.sys/bus_udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winebus.sys/bus_udev.c b/dlls/winebus.sys/bus_udev.c index 4f929d0cb45..f9c093a7460 100644 --- a/dlls/winebus.sys/bus_udev.c +++ b/dlls/winebus.sys/bus_udev.c @@ -708,7 +708,7 @@ static void *lnxev_device_haptics_thread(void *args) { while (!memcmp(&effect, &impl->haptics, sizeof(effect))) pthread_cond_wait(&impl->haptics_cond, &udev_cs); - if (impl->haptics.type == (__u16)-1) break; + if (impl->haptics.type == (uint16_t)-1) break;
effect = impl->haptics; pthread_mutex_unlock(&udev_cs);