diff --git a/input/drivers/udev_input.c b/input/drivers/udev_input.c index 9b26076224..e80c7fb959 100644 --- a/input/drivers/udev_input.c +++ b/input/drivers/udev_input.c @@ -3291,13 +3291,13 @@ static int udev_input_add_device(udev_input_t *udev, device->mouse.y_max = absinfo.maximum; } -#ifdef UDEV_TOUCH_SUPPORT if (touch) { +#ifdef UDEV_TOUCH_SUPPORT udev_init_touch_dev(device); udev_sync_touch(device); - } #endif + } if (!mouse) goto end; diff --git a/ui/drivers/qt/qt_downloads.cpp b/ui/drivers/qt/qt_downloads.cpp index 97113bb7f9..f438310525 100644 --- a/ui/drivers/qt/qt_downloads.cpp +++ b/ui/drivers/qt/qt_downloads.cpp @@ -1,4 +1,5 @@ #include +#include #include #include