diff options
author | Marek Vasut <marex@denx.de> | 2022-10-29 14:46:41 +0300 |
---|---|---|
committer | Fabio Estevam <festevam@denx.de> | 2022-10-29 16:30:37 +0300 |
commit | 5dc5d3809b110feea6c25a1b0044db9e64af0830 (patch) | |
tree | d91be327c29c1af2eb4ead998b4b94716046f22b /src/rcw.c | |
parent | 91a8d9c40fa3618ae4ca7dbead79dba56b38cb1d (diff) |
remmina: Allow building on a Wayland-only environment
Currently, it is not possible to build remmina without x11
support.
Implement the necessary changes to support building and running
remmina on a Wayland-only environment.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'src/rcw.c')
-rw-r--r-- | src/rcw.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,7 +37,11 @@ #include "config.h" +#ifdef GDK_WINDOWING_X11 #include <cairo/cairo-xlib.h> +#else +#include <cairo/cairo.h> +#endif #include <gdk/gdk.h> #include <gdk/gdkkeysyms.h> #include <glib/gi18n.h> |