mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Avoid using wayland-{client,server}.h
Their use is discouraged. Instead, include -core or -protocol headers.
This commit is contained in:
parent
cb01c63a8d
commit
2f82c92307
9 changed files with 11 additions and 12 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue