aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorJohn Lindgren <john@jlindgren.net>2023-07-17 10:06:51 -0400
committerJohn Lindgren <john@jlindgren.net>2023-07-17 10:10:06 -0400
commit657ca2205ff4d5f70cf294d9b5720acf2eaf76b4 (patch)
tree88e04dbed91999f741aa659fe45b50b1a0333cd3 /include/wlr
parentb18c76642ade7df4ac93623a2fee5b0a9e6c6407 (diff)
wlr_gamma_control: add missing forward declarations
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); | ^~~~~~~~~~~~~~~~
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_gamma_control_v1.h3
1 files changed, 3 insertions, 0 deletions
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 <wayland-server-core.h>
+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