Fix/cleanup includes a bit

This commit is contained in:
Kirill Primak 2025-04-15 20:13:29 +03:00
parent 4277d8cfdc
commit 5fd43add1c
21 changed files with 12 additions and 25 deletions

View file

@ -2,6 +2,10 @@
#define BACKEND_DRM_FB_H
#include <stdbool.h>
#include <stdint.h>
#include <wlr/util/addon.h>
struct wlr_drm_format_set;
struct wlr_drm_fb {
struct wlr_buffer *wlr_buf;

View file

@ -12,8 +12,6 @@
#include <wlr/types/wlr_tablet_tool.h>
#include <wlr/types/wlr_touch.h>
#include "config.h"
struct wlr_libinput_backend {
struct wlr_backend backend;

View file

@ -5,7 +5,6 @@
#include <GLES2/gl2ext.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#include <wlr/render/egl.h>
#include <wlr/render/gles2.h>

View file

@ -1,6 +1,8 @@
#ifndef TYPES_WLR_REGION_H
#define TYPES_WLR_REGION_H
#include <stdint.h>
struct wl_client;
/*

View file

@ -9,10 +9,13 @@
#ifndef WLR_TYPES_WLR_EXT_IMAGE_COPY_CAPTURE_V1_H
#define WLR_TYPES_WLR_EXT_IMAGE_COPY_CAPTURE_V1_H
#include <pixman.h>
#include <wayland-server.h>
#include <time.h>
#include "ext-image-copy-capture-v1-protocol.h"
struct wlr_renderer;
struct wlr_ext_image_copy_capture_manager_v1 {
struct wl_global *global;

View file

@ -9,7 +9,6 @@
#ifndef WLR_TYPES_WLR_INPUT_METHOD_V2_H
#define WLR_TYPES_WLR_INPUT_METHOD_V2_H
#include <stdint.h>
#include <stdlib.h>
#include <wayland-server-core.h>
#include <wlr/types/wlr_seat.h>
#include <wlr/util/box.h>

View file

@ -13,6 +13,7 @@
struct wlr_backend;
struct wlr_backend_output_state;
struct wlr_output;
/**
* Helper to allocate swapchains for mode-setting.

View file

@ -11,7 +11,6 @@
#include <stdbool.h>
#include <stddef.h>
#include <time.h>
#include <wayland-server-core.h>
struct wlr_surface;