mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 22:59:47 +01:00
drm: add missing include to fix BSD (#42)
src/backend/drm/Renderer.cpp:504:13: error: use of undeclared identifier 'close' 504 | close(dupFd); | ^ src/backend/drm/Renderer.cpp:532:13: error: use of undeclared identifier 'close' 532 | close(egl.lastBlitSyncFD); | ^
This commit is contained in:
parent
940980244e
commit
131ed05f99
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
#include <xf86drmMode.h>
|
#include <xf86drmMode.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include "Math.hpp"
|
#include "Math.hpp"
|
||||||
#include "Shared.hpp"
|
#include "Shared.hpp"
|
||||||
#include "FormatUtils.hpp"
|
#include "FormatUtils.hpp"
|
||||||
|
|
Loading…
Reference in a new issue