Skip to content

Commit

Permalink
os: add missing header for BSDs after fd4be8b (#16)
Browse files Browse the repository at this point in the history
src/os/Process.cpp:105:9: error: use of undeclared identifier 'sigemptyset'
  105 |         sigemptyset(&set);
      |         ^
src/os/Process.cpp:106:21: error: use of undeclared identifier 'SIG_SETMASK'
  106 |         sigprocmask(SIG_SETMASK, &set, NULL);
      |                     ^
  • Loading branch information
jbeich authored Nov 9, 2024
1 parent 60d3dec commit d504d45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/os/Process.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <hyprutils/os/Process.hpp>
using namespace Hyprutils::OS;

#include <csignal>
#include <cstdio>
#include <unistd.h>
#include <cstring>
Expand Down

0 comments on commit d504d45

Please sign in to comment.