mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +01:00
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:
parent
1b713911c2
commit
15fd76cb6e
1 changed files with 1 additions and 0 deletions
|
@ -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 --------------- //
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue