summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/clients/pointer-scroll.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/src/tests/clients/pointer-scroll.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/src/tests/clients/pointer-scroll.cpp')
-rw-r--r--hyprtester/src/tests/clients/pointer-scroll.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/hyprtester/src/tests/clients/pointer-scroll.cpp b/hyprtester/src/tests/clients/pointer-scroll.cpp
index d54d82de..b5fb68fb 100644
--- a/hyprtester/src/tests/clients/pointer-scroll.cpp
+++ b/hyprtester/src/tests/clients/pointer-scroll.cpp
@@ -8,6 +8,7 @@
#include <hyprutils/os/Process.hpp>
#include <sys/poll.h>
+#include <unistd.h>
#include <csignal>
#include <thread>