Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/rcw.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-10-29 14:46:41 +0300
committerFabio Estevam <festevam@denx.de>2022-10-29 16:30:37 +0300
commit5dc5d3809b110feea6c25a1b0044db9e64af0830 (patch)
treed91be327c29c1af2eb4ead998b4b94716046f22b /src/rcw.c
parent91a8d9c40fa3618ae4ca7dbead79dba56b38cb1d (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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rcw.c b/src/rcw.c
index 4099ea3a9..9d27ceef2 100644
--- a/src/rcw.c
+++ b/src/rcw.c
@@ -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>