From 0706569ac912b179c024987dfac693ba70784229 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Wed, 10 Aug 2022 10:51:35 +0200
Subject: [PATCH] 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
---
libweston/linux-dmabuf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libweston/linux-dmabuf.h b/libweston/linux-dmabuf.h
index 32a7cb56..7508eb5e 100644
--- a/libweston/linux-dmabuf.h
+++ b/libweston/linux-dmabuf.h
@@ -26,7 +26,7 @@
#ifndef WESTON_LINUX_DMABUF_H
#define WESTON_LINUX_DMABUF_H
-#include
+#include
#define MAX_DMABUF_PLANES 4