summaryrefslogtreecommitdiff
path: root/hyprtester/clients/pointer-warp.cpp
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@gmail.com>2026-01-06 00:42:35 +0900
committerGitHub <noreply@github.com>2026-01-05 16:42:35 +0100
commit7d8f57083e703267e18c78256b0f37108337ff81 (patch)
tree1dcd905ca01b681b5672e50f5d899ca57b1ec6bf /hyprtester/clients/pointer-warp.cpp
parenta3c8533d74da9faef313059a283cfeff49555046 (diff)
testers: add missing #include <unistd.h> (#12862)
FreeBSD clang needs the header to be included for read(), write(), pipe(), close(), etc.
Diffstat (limited to 'hyprtester/clients/pointer-warp.cpp')
-rw-r--r--hyprtester/clients/pointer-warp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/hyprtester/clients/pointer-warp.cpp b/hyprtester/clients/pointer-warp.cpp
index 2d3624d5..a57f99ae 100644
--- a/hyprtester/clients/pointer-warp.cpp
+++ b/hyprtester/clients/pointer-warp.cpp
@@ -2,6 +2,7 @@
#include <sys/poll.h>
#include <sys/mman.h>
#include <fcntl.h>
+#include <unistd.h>
#include <print>
#include <format>
#include <string>