Avoid using wayland-{client,server}.h

Their use is discouraged. Instead, include -core or -protocol headers.
This commit is contained in:
Kirill Primak 2024-04-17 16:04:36 +03:00 committed by Simon Ser
parent cb01c63a8d
commit 2f82c92307
9 changed files with 11 additions and 12 deletions

View file

@ -1,6 +1,6 @@
#include <assert.h>
#include <string.h>
#include <wayland-server.h>
#include <wayland-server-protocol.h>
#include <wlr/interfaces/wlr_buffer.h>
#include <wlr/util/log.h>
#include "types/wlr_buffer.h"

View file

@ -7,7 +7,7 @@
#include <stdlib.h>
#include <sys/mman.h>
#include <unistd.h>
#include <wayland-server.h>
#include <wayland-server-protocol.h>
#include <wlr/interfaces/wlr_buffer.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_shm.h>