diff --git a/gfx/common/wayland_common.c b/gfx/common/wayland_common.c index 8f4c7adbbc..b1d900a42c 100644 --- a/gfx/common/wayland_common.c +++ b/gfx/common/wayland_common.c @@ -26,6 +26,7 @@ #include "wayland_common.h" #include "../../frontend/frontend_driver.h" +#include "../../verbosity.h" #define SPLASH_SHM_NAME "retroarch-wayland-vk-splash" diff --git a/gfx/video_driver.h b/gfx/video_driver.h index 63c6c742a3..07bb5aa542 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -19,7 +19,6 @@ #include - #include #include #include diff --git a/input/common/linux_common.c b/input/common/linux_common.c index 3a436682d8..a29d056156 100644 --- a/input/common/linux_common.c +++ b/input/common/linux_common.c @@ -89,7 +89,7 @@ static void linux_terminal_restore_signal(int sig) bool linux_terminal_disable_input(void) { - struct sigaction sa = {{0}}; + struct sigaction sa = {0}; /* Avoid accidentally typing stuff. */ if (!isatty(0)) diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index 65e35de1bd..2cd3babbfa 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -49,6 +49,8 @@ #include "../defaults.h" #include "../command.h" #include "../configuration.h" +#include "../core.h" +#include "../gfx/video_driver.h" #include "../paths.h" #include "../msg_hash.h" #include "../runloop.h"