drm: add missing include to fix BSD (#15)

src/backend/Backend.cpp:317:13: error: use of undeclared identifier 'close'
  317 |             close(newFD);
      |             ^
src/backend/Backend.cpp:323:13: error: use of undeclared identifier 'close'
  323 |             close(newFD);
      |             ^
This commit is contained in:
Jan Beich 2024-07-16 09:53:20 +00:00 committed by GitHub
parent db417a49e8
commit 1dd44c85e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,7 @@
#include <string.h> #include <string.h>
#include <xf86drm.h> #include <xf86drm.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h>
using namespace Hyprutils::Memory; using namespace Hyprutils::Memory;
using namespace Aquamarine; using namespace Aquamarine;