diff options
author | Simon Ser <contact@emersion.fr> | 2019-07-27 11:53:54 +0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-27 15:49:32 -0400 |
commit | ca45f4490ccce64bf7aa0985951319646b55d258 (patch) | |
tree | b786f4c4fb07ab3af9b1567510cb75b4eb905bc9 /backend/drm | |
parent | 76ef089f52b20a2def3dd1f8a8564af165050dcb (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.
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/backend.c | 2 | ||||
-rw-r--r-- | backend/drm/drm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 7fdab816..541e720f 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -4,7 +4,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wlr/backend/interface.h> #include <wlr/backend/session.h> #include <wlr/interfaces/wlr_output.h> diff --git a/backend/drm/drm.c b/backend/drm/drm.c index db727010..eef7beb5 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -12,7 +12,7 @@ #include <string.h> #include <strings.h> #include <time.h> -#include <wayland-server.h> +#include <wayland-server-core.h> #include <wayland-util.h> #include <wlr/backend/interface.h> #include <wlr/interfaces/wlr_output.h> |