Add some missing includes/declarations

master
Kirill Primak 2 years ago committed by Alexander Orzechowski
parent c5f4df6c96
commit 3dc646ea88

@ -2,6 +2,7 @@
#define BACKEND_DRM_PROPERTIES_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.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;

@ -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);

@ -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 | \

@ -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);

@ -1,6 +1,7 @@
#ifndef UTIL_TIME_H
#define UTIL_TIME_H
#include <stdint.h>
#include <time.h>
/**

@ -25,6 +25,7 @@
* Author: Keith Packard, SuSE, Inc.
*/
#include <stddef.h>
#include <stdint.h>
static const uint32_t cursor_data[] = {

@ -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;

@ -1,6 +1,8 @@
#ifndef XWAYLAND_SOCKETS_H
#define XWAYLAND_SOCKETS_H
#include <stdbool.h>
bool set_cloexec(int fd, bool cloexec);
void unlink_display_sockets(int display);
int open_display_sockets(int socks[2]);

Loading…
Cancel
Save