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.
wilder/Plasma/6.2
Jami Kettunen 2 years ago committed by Xaver Hugl
parent ad45dcb40b
commit 8cc1c7eca7
  1. 1
      src/core/shmgraphicsbufferallocator.cpp

@ -13,6 +13,7 @@
#include <drm_fourcc.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
namespace KWin

Loading…
Cancel
Save