From 24171bb71010a90f1ac323be49121c1503658567 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Thu, 23 Feb 2023 08:40:15 +0100 Subject: xwayland: Include where needed With the addition of linux_dmabuf v4, the code adds dev_t in various places but did not include . While that works on glibc, it may fail to build on other libc implementations such as musl libc. Make sure to explicitly include where we use dev_t. Signed-off-by: Olivier Fourdan Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1445 Fixes: bddfe190de - Implement linux_dmabuf_feedback event handlers --- hw/xwayland/xwayland-glamor.h | 2 ++ hw/xwayland/xwayland-window.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/hw/xwayland/xwayland-glamor.h b/hw/xwayland/xwayland-glamor.h index ed9ec40de..aed65b50f 100644 --- a/hw/xwayland/xwayland-glamor.h +++ b/hw/xwayland/xwayland-glamor.h @@ -28,6 +28,8 @@ #include +#include + #include #include "xwayland-types.h" diff --git a/hw/xwayland/xwayland-window.h b/hw/xwayland/xwayland-window.h index 2e8313f56..c5c42f097 100644 --- a/hw/xwayland/xwayland-window.h +++ b/hw/xwayland/xwayland-window.h @@ -28,8 +28,11 @@ #include +#include + #include #include + #include #include #include -- cgit v1.2.1