diff options
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index a7b0702..a4467d3 100644 --- a/src/utils.h +++ b/src/utils.h @@ -2,6 +2,7 @@ #include <stdint.h> #include <wayland-client.h> +#include <wayland-egl-core.h> #include <cstdio> #include <cstdlib> @@ -37,7 +38,7 @@ typedef struct xdg_wm_base* xdg_wm_base_t; typedef struct xdg_surface* xdg_surface_t; typedef struct xdg_toplevel* xdg_toplevel_t; -typedef struct wl_egl_surface* wl_egl_surface_t; +typedef struct wl_egl_window* wl_egl_window_t; static inline u32 wayc_min(u32 a, u32 b) { return a > b ? a : b; } |
