summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-04-26 19:43:58 +0300
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2025-04-26 19:43:58 +0300
commit0f18e6d0616b597fc32bba78b38dfc5c922ec9a4 (patch)
tree8efb06c774ecd881f26ab264cdb9b11c01db0fa0 /kms++
parentf6a23b8e7e0d0089453367876a9f90abfeb2b394 (diff)
dmabuffb: Add missing include
Diffstat (limited to 'kms++')
-rw-r--r--kms++/src/dmabufframebuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++/src/dmabufframebuffer.cpp b/kms++/src/dmabufframebuffer.cpp
index 3d5b133..939c025 100644
--- a/kms++/src/dmabufframebuffer.cpp
+++ b/kms++/src/dmabufframebuffer.cpp
@@ -5,6 +5,8 @@
#include <stdexcept>
#include <sys/mman.h>
#include <sys/ioctl.h>
+#include <unistd.h>
+
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <linux/dma-buf.h>