summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/main/window.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/main/window.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/main/window.cpp')
-rw-r--r--hyprtester/src/tests/main/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/hyprtester/src/tests/main/window.cpp b/hyprtester/src/tests/main/window.cpp
index fbaffa18..ea44cb24 100644
--- a/hyprtester/src/tests/main/window.cpp
+++ b/hyprtester/src/tests/main/window.cpp
@@ -1,3 +1,4 @@
+#include <unistd.h>
#include <cmath>
#include <chrono>
#include <cstdlib>