[plasma/kwin] src/core: Include sys/types.h for usage of dev_t

Bart Ribbers <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d9e919b73781319f19973a4c0606da084266ecd9 by Bart Ribbers.
Committed on 20/07/2026 at 18:20.
Pushed by zamundaaa into branch 'master'.

Include sys/types.h for usage of dev_t

85337818cff introduced usage of dev_t without importing sys/types.h.
However on Musl sys/types.h is not pulled in explicitely unlike glibc.

M  +1    -0    src/core/renderdevice.h

https://invent.kde.org/plasma/kwin/-/commit/d9e919b73781319f19973a4c0606da084266ecd9

diff --git a/src/core/renderdevice.h b/src/core/renderdevice.h
index 81b44aab978..385a63d1df5 100644
--- a/src/core/renderdevice.h
+++ b/src/core/renderdevice.h
@@ -14,6 +14,7 @@
 #include <QObject>
 #include <QSize>
 #include <memory>
+#include <sys/types.h>
 #include <vulkan/vulkan_raii.hpp>
 
 namespace KWin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.