From 8cc1c7eca7e17a66ef2da8e7bcd40835ee325577 Mon Sep 17 00:00:00 2001 From: Jami Kettunen Date: Mon, 23 Oct 2023 20:38:11 +0300 Subject: [PATCH] core/graphicsbuffer: add missing unistd.h include Fixes an error: use of undeclared identifier 'ftruncate' under Chimera Linux which uses the musl C standard library. --- src/core/shmgraphicsbufferallocator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/shmgraphicsbufferallocator.cpp b/src/core/shmgraphicsbufferallocator.cpp index f01680316f..1c61be66f0 100644 --- a/src/core/shmgraphicsbufferallocator.cpp +++ b/src/core/shmgraphicsbufferallocator.cpp @@ -13,6 +13,7 @@ #include #include +#include #include namespace KWin