mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
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); | ^~~~~~~~~~~~~~~~
This commit is contained in:
parent
b18c76642a
commit
657ca2205f
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
||||||
|
|
||||||
#include <wayland-server-core.h>
|
#include <wayland-server-core.h>
|
||||||
|
|
||||||
|
struct wlr_output;
|
||||||
|
struct wlr_output_state;
|
||||||
|
|
||||||
struct wlr_gamma_control_manager_v1 {
|
struct wlr_gamma_control_manager_v1 {
|
||||||
struct wl_global *global;
|
struct wl_global *global;
|
||||||
struct wl_list controls; // wlr_gamma_control_v1.link
|
struct wl_list controls; // wlr_gamma_control_v1.link
|
||||||
|
|
Loading…
Reference in a new issue