Skip to content

Commit

Permalink
Fix build when gdk/gdkwayland.h is not available (#108)
Browse files Browse the repository at this point in the history
When Gtk is compiled without Wayland support gdkwayland.h is not
available.

Signed-off-by: Tobias Kortkamp <t@tobik.me>
  • Loading branch information
Tobias Kortkamp authored and Hjdskes committed Sep 2, 2018
1 parent af27d86 commit 8d89081
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gcolor3-color-selection.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@

#include <math.h>
#include <string.h>
#include <gdk/gdk.h>
#ifdef GDK_WINDOWING_WAYLAND
#include <gdk/gdkwayland.h>
#endif
#include <gtk/gtk.h>
#include <glib/gi18n.h>

Expand Down

0 comments on commit 8d89081

Please sign in to comment.