screencopy: add missing header for sdbus-cpp 1.5.0

src/portals/Screencopy.cpp:956:9: error: use of undeclared identifier 'close'
        close(PBUFFER->fd[plane]);
        ^
src/portals/Screencopy.cpp:1293:21: error: use of undeclared identifier 'close'
                    close(pBuffer->fd[plane_tmp]);
                    ^
src/portals/Screencopy.cpp:1308:17: error: use of undeclared identifier 'close'
                close(pBuffer->fd[plane]);
                ^
This commit is contained in:
Jan Beich 2024-02-26 13:14:29 +01:00 committed by Mihai Fufezan
parent 1b713911c2
commit 15fd76cb6e

View file

@ -6,6 +6,7 @@
#include <libdrm/drm_fourcc.h> #include <libdrm/drm_fourcc.h>
#include <pipewire/pipewire.h> #include <pipewire/pipewire.h>
#include <protocols/linux-dmabuf-unstable-v1-protocol.h> #include <protocols/linux-dmabuf-unstable-v1-protocol.h>
#include <unistd.h>
// --------------- Wayland Protocol Handlers --------------- // // --------------- Wayland Protocol Handlers --------------- //