mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05: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…
Add table
Add a link
Reference in a new issue