linux-dmabuf: add missing includes and declarations

Currently linux-dmabuf.h implicitly depends on libweston.h being
included before it. Instead of adding missing includes for bool,
dev_t, struct timespec, struct weston_compositor,
struct weston_drm_format_array, struct wl_array, and struct wl_list,
just include libweston.h.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
Philipp Zabel 2022-08-10 10:51:35 +02:00 committed by Marius Vlad
parent a943e5e70e
commit 0706569ac9

View file

@ -26,7 +26,7 @@
#ifndef WESTON_LINUX_DMABUF_H
#define WESTON_LINUX_DMABUF_H
#include <stdint.h>
#include <libweston/libweston.h>
#define MAX_DMABUF_PLANES 4