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

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 6426bf924c270bd5335f0314fddfbf3bdaa9e774 by Vlad Zahorodnii, on behalf of Bart Ribbers.
Committed on 06/08/2026 at 08:56.
Pushed by vladz into branch 'master'.

Include sys/types.h for usage of dev_t

2ca7a19a74628039933f4de63aa61a199fed5743 introduced the usage without
including the required types.h which is implicitly included in glibc but
not in Musl libc.

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

https://invent.kde.org/plasma/kwin/-/commit/6426bf924c270bd5335f0314fddfbf3bdaa9e774

diff --git a/src/core/renderbackend.h b/src/core/renderbackend.h
index de9116086ce..53ea629e417 100644
--- a/src/core/renderbackend.h
+++ b/src/core/renderbackend.h
@@ -14,6 +14,7 @@
 #include <QObject>
 #include <QPointer>
 #include <memory>
+#include <sys/types.h>
 
 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.