summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <[email protected]>2019-07-27 11:53:54 +0300
committerDrew DeVault <[email protected]>2019-07-27 15:49:32 -0400
commit5f589038c8fec55521fc6a09117e70345528157a (patch)
tree4098c97d348fa7956aeb35934bae8f2ee0df56d4
parent132df104fbfa9e32b955ecfaeba46f0a781c26ed (diff)
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.
-rw-r--r--tinywl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinywl.c b/tinywl.c
index ca5cdc9..3ea7d07 100644
--- a/tinywl.c
+++ b/tinywl.c
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <time.h>
#include <unistd.h>
-#include <wayland-server.h>
+#include <wayland-server-core.h>
#include <wlr/backend.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_cursor.h>