aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-06-05 23:45:28 +0300
committerAlexander Orzechowski <alex@ozal.ski>2023-06-05 21:06:19 +0000
commit3dc646ea889084cd7aa980f38124b5df548cf10d (patch)
tree1ee02a0e22793f8c6d7efb4b08d8a66aa8ba4d2c /include
parentc5f4df6c961abef073414e14388878df8cd16947 (diff)
Add some missing includes/declarations
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/properties.h1
-rw-r--r--include/backend/drm/renderer.h2
-rw-r--r--include/backend/session/session.h3
-rw-r--r--include/types/wlr_data_device.h1
-rw-r--r--include/util/shm.h1
-rw-r--r--include/util/time.h1
-rw-r--r--include/xcursor/cursor_data.h1
-rw-r--r--include/xwayland/selection.h5
8 files changed, 15 insertions, 0 deletions
diff --git a/include/backend/drm/properties.h b/include/backend/drm/properties.h
index b6ca14f1..103d1259 100644
--- a/include/backend/drm/properties.h
+++ b/include/backend/drm/properties.h
@@ -2,6 +2,7 @@
#define BACKEND_DRM_PROPERTIES_H
#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
/*
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h
index 07fcf28a..d29fe2ad 100644
--- a/include/backend/drm/renderer.h
+++ b/include/backend/drm/renderer.h
@@ -5,8 +5,10 @@
#include <stdint.h>
#include <wlr/backend.h>
#include <wlr/render/wlr_renderer.h>
+#include <wlr/util/addon.h>
struct wlr_drm_backend;
+struct wlr_drm_format;
struct wlr_drm_plane;
struct wlr_buffer;
diff --git a/include/backend/session/session.h b/include/backend/session/session.h
index 5eca7f57..0275f69f 100644
--- a/include/backend/session/session.h
+++ b/include/backend/session/session.h
@@ -1,6 +1,9 @@
#ifndef BACKEND_SESSION_SESSION_H
#define BACKEND_SESSION_SESSION_H
+#include <stdbool.h>
+
+struct wl_display;
struct wlr_session;
struct wlr_session *libseat_session_create(struct wl_display *disp);
diff --git a/include/types/wlr_data_device.h b/include/types/wlr_data_device.h
index 07a08c2f..99aff428 100644
--- a/include/types/wlr_data_device.h
+++ b/include/types/wlr_data_device.h
@@ -2,6 +2,7 @@
#define TYPES_WLR_DATA_DEVICE_H
#include <wayland-server-core.h>
+#include <wlr/types/wlr_data_device.h>
#define DATA_DEVICE_ALL_ACTIONS (WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY | \
WL_DATA_DEVICE_MANAGER_DND_ACTION_MOVE | \
diff --git a/include/util/shm.h b/include/util/shm.h
index 331532fc..3beabcab 100644
--- a/include/util/shm.h
+++ b/include/util/shm.h
@@ -2,6 +2,7 @@
#define UTIL_SHM_H
#include <stdbool.h>
+#include <stddef.h>
int create_shm_file(void);
int allocate_shm_file(size_t size);
diff --git a/include/util/time.h b/include/util/time.h
index 09a1f68e..3f76aa47 100644
--- a/include/util/time.h
+++ b/include/util/time.h
@@ -1,6 +1,7 @@
#ifndef UTIL_TIME_H
#define UTIL_TIME_H
+#include <stdint.h>
#include <time.h>
/**
diff --git a/include/xcursor/cursor_data.h b/include/xcursor/cursor_data.h
index 82627003..83270141 100644
--- a/include/xcursor/cursor_data.h
+++ b/include/xcursor/cursor_data.h
@@ -25,6 +25,7 @@
* Author: Keith Packard, SuSE, Inc.
*/
+#include <stddef.h>
#include <stdint.h>
static const uint32_t cursor_data[] = {
diff --git a/include/xwayland/selection.h b/include/xwayland/selection.h
index 07659cfd..30831023 100644
--- a/include/xwayland/selection.h
+++ b/include/xwayland/selection.h
@@ -1,7 +1,9 @@
#ifndef XWAYLAND_SELECTION_H
#define XWAYLAND_SELECTION_H
+#include <stdbool.h>
#include <xcb/xfixes.h>
+#include <wayland-util.h>
#define INCR_CHUNK_SIZE (64 * 1024)
@@ -11,6 +13,9 @@ struct wlr_primary_selection_source;
struct wlr_xwm_selection;
+struct wlr_drag;
+struct wlr_data_source;
+
struct wlr_xwm_selection_transfer {
struct wlr_xwm_selection *selection;