Fix some header includes detected by clangd

There were some missing headers like <stddef.h> for `NULL`, <wayland-util.h>
for `wl_link` and <stdbool.h> for `true`/`false`.

Also this commit fixes that `labwc.h` and `ime.h` included each other.
This commit is contained in:
Hiroaki Yamamoto 2024-04-22 04:58:57 +09:00 committed by GitHub
parent d67345564e
commit d64e3915a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 14 additions and 3 deletions

View file

@ -2,11 +2,11 @@
#ifndef LABWC_SCALED_SCENE_BUFFER_H
#define LABWC_SCALED_SCENE_BUFFER_H
#include <wayland-server-core.h>
#define LAB_SCALED_BUFFER_MAX_CACHE 2
struct wl_list;
struct wlr_buffer;
struct wl_listener;
struct wlr_scene_tree;
struct lab_data_buffer;
struct scaled_scene_buffer;