From f984f21b6a71bf8794de61f58b00d99ed3537c50 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 27 Jul 2019 23:02:56 +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. This commit si similar to wlroots' ca45f4490ccc ("Remove all wayland-server.h includes"). --- sway/ipc-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/ipc-server.c') diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 773e90fd..9c4f7a64 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include "sway/commands.h" #include "sway/config.h" #include "sway/desktop/transaction.h" -- cgit v1.2.3-54-g00ecf