File sway-1.0-include.patch of Package sway

diff -urEbw sway-1.6.1/common/util.c sway-1.6.1.new/common/util.c
--- sway-1.6.1/common/util.c	2021-06-24 18:26:29.000000000 +0200
+++ sway-1.6.1.new/common/util.c	2021-06-24 22:24:43.347046086 +0200
@@ -6,7 +6,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <strings.h>
-#include <wayland-server-protocol.h>
+#include <wayland/wayland-server-protocol.h>
 #include "log.h"
 #include "util.h"
 
diff -urEbw sway-1.6.1/include/cairo_util.h sway-1.6.1.new/include/cairo_util.h
--- sway-1.6.1/include/cairo_util.h	2021-06-24 18:26:29.000000000 +0200
+++ sway-1.6.1.new/include/cairo_util.h	2021-06-24 22:24:27.266948651 +0200
@@ -3,7 +3,7 @@
 #include "config.h"
 #include <stdint.h>
 #include <cairo.h>
-#include <wayland-client-protocol.h>
+#include <wayland/wayland-client-protocol.h>
 
 void cairo_set_source_u32(cairo_t *cairo, uint32_t color);
 cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel);
diff -urEbw sway-1.6.1/include/util.h sway-1.6.1.new/include/util.h
--- sway-1.6.1/include/util.h	2021-06-24 18:26:29.000000000 +0200
+++ sway-1.6.1.new/include/util.h	2021-06-24 22:24:41.883037214 +0200
@@ -3,7 +3,7 @@
 
 #include <stdint.h>
 #include <stdbool.h>
-#include <wayland-server-protocol.h>
+#include <wayland/wayland-server-protocol.h>
 
 enum movement_unit {
 	MOVEMENT_UNIT_PX,
openSUSE Build Service is sponsored by