From ca45f4490ccce64bf7aa0985951319646b55d258 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 27 Jul 2019 11:53:54 +0300 Subject: Remove all wayland-server.h includes The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration. --- examples/touch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/touch.c') diff --git a/examples/touch.c b/examples/touch.c index 4ca9b993..c306ba69 100644 --- a/examples/touch.c +++ b/examples/touch.c @@ -7,8 +7,7 @@ #include #include #include -#include -#include +#include #include #include #include -- cgit v1.2.3