diff --git a/include/screencast_common.h b/include/screencast_common.h index d7997830..c3faf7a2 100644 --- a/include/screencast_common.h +++ b/include/screencast_common.h @@ -5,6 +5,8 @@ #include #include +#include + // this seems to be right based on // https://github.com/flatpak/xdg-desktop-portal/blob/309a1fc0cf2fb32cceb91dbc666d20cf0a3202c2/src/screen-cast.c#L955 #define XDP_CAST_PROTO_VER 2 @@ -76,6 +78,7 @@ struct xdpw_screencast_context { struct zwlr_screencopy_manager_v1 *screencopy_manager; struct zxdg_output_manager_v1* xdg_output_manager; struct wl_shm *shm; + struct gbm_device *gbm; // cli options const char *output_name;