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
|
|
@ -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 New Issue