Skip to content

Commit

Permalink
screencopy: add missing header for sdbus-cpp 1.5.0
Browse files Browse the repository at this point in the history
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]);
                ^
  • Loading branch information
jbeich authored and fufexan committed Feb 26, 2024
1 parent 1b71391 commit 15fd76c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/portals/Screencopy.cpp
Expand Up @@ -6,6 +6,7 @@
#include <libdrm/drm_fourcc.h>
#include <pipewire/pipewire.h>
#include <protocols/linux-dmabuf-unstable-v1-protocol.h>
#include <unistd.h>

// --------------- Wayland Protocol Handlers --------------- //

Expand Down

0 comments on commit 15fd76c

Please sign in to comment.