From 131ed05f99e66c3e518be3fadeff7ddb7d1d351d Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 6 Aug 2024 20:06:30 +0000 Subject: [PATCH] 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); | ^ --- src/backend/drm/Renderer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/drm/Renderer.cpp b/src/backend/drm/Renderer.cpp index f873223..c6b2c90 100644 --- a/src/backend/drm/Renderer.cpp +++ b/src/backend/drm/Renderer.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include "Math.hpp" #include "Shared.hpp" #include "FormatUtils.hpp"