diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2025-04-07 18:36:01 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 20:36:01 +0200 |
| commit | a8eda7f978ed367969d0de2adc836ceb268ccd54 (patch) | |
| tree | 9d2177b715cf5293ce7b28fdffcc4b9411601541 /src/helpers/AsyncDialogBox.cpp | |
| parent | 8a8f394da70e40043d1ba2c193b81867560b2b05 (diff) | |
helpers: add missing include for BSDs after 3c128679ee8c (#9982)
src/helpers/AsyncDialogBox.cpp:47:23: error: use of undeclared identifier 'read'
47 | while ((ret = read(m_pipeReadFd.get(), buf.data(), 1023)) > 0) {
| ^
src/helpers/AsyncDialogBox.cpp:83:9: error: use of undeclared identifier 'pipe'
83 | if (pipe(outPipe)) {
| ^
src/helpers/AsyncDialogBox.cpp:110:5: error: use of undeclared identifier 'close'
110 | close(outPipe[1]);
| ^
Diffstat (limited to 'src/helpers/AsyncDialogBox.cpp')
| -rw-r--r-- | src/helpers/AsyncDialogBox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/AsyncDialogBox.cpp b/src/helpers/AsyncDialogBox.cpp index 2ca99ab9..3010d10e 100644 --- a/src/helpers/AsyncDialogBox.cpp +++ b/src/helpers/AsyncDialogBox.cpp @@ -1,6 +1,7 @@ #include "AsyncDialogBox.hpp" #include "./fs/FsUtils.hpp" #include <csignal> +#include <unistd.h> #include "../managers/eventLoop/EventLoopManager.hpp" using namespace Hyprutils::OS; |
