mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-19 08:30:22 -07:00
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]); | ^
This commit is contained in:
parent
8a8f394da7
commit
a8eda7f978
@ -1,6 +1,7 @@
|
|||||||
#include "AsyncDialogBox.hpp"
|
#include "AsyncDialogBox.hpp"
|
||||||
#include "./fs/FsUtils.hpp"
|
#include "./fs/FsUtils.hpp"
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
|
#include <unistd.h>
|
||||||
#include "../managers/eventLoop/EventLoopManager.hpp"
|
#include "../managers/eventLoop/EventLoopManager.hpp"
|
||||||
|
|
||||||
using namespace Hyprutils::OS;
|
using namespace Hyprutils::OS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user