From 657ca2205ff4d5f70cf294d9b5720acf2eaf76b4 Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Mon, 17 Jul 2023 10:06:51 -0400 Subject: [PATCH] wlr_gamma_control: add missing forward declarations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes an error seen in labwc CI builds with -Werror: ../subprojects/wlroots/include/wlr/types/wlr_gamma_control_v1.h:44:16: error: ‘struct wlr_output_state’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 44 | struct wlr_output_state *output_state); | ^~~~~~~~~~~~~~~~ --- include/wlr/types/wlr_gamma_control_v1.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wlr/types/wlr_gamma_control_v1.h b/include/wlr/types/wlr_gamma_control_v1.h index 36f4b207..48fce09f 100644 --- a/include/wlr/types/wlr_gamma_control_v1.h +++ b/include/wlr/types/wlr_gamma_control_v1.h @@ -3,6 +3,9 @@ #include +struct wlr_output; +struct wlr_output_state; + struct wlr_gamma_control_manager_v1 { struct wl_global *global; struct wl_list controls; // wlr_gamma_control_v1.link