CrashReporter: unbreak build on FreeBSD (#5786)
* CrashReporter: skip Linux field on BSDs after90a53aed59In file included from src/debug/CrashReporter.cpp:10: src/debug/signal-safe.hpp:113:17: error: no member named 'sa_restorer' in 'sigaction' act.sa_restorer = NULL; ~~~ ^ * CrashReporter: ensure *argv[] is NULL-terminated after90a53aed59execv() may fail with EFAULT otherwise. * hyprpm: add missing header after335015fe2dhyprpm/src/core/PluginManager.cpp:165:43: error: use of undeclared identifier 'getuid' 165 | const std::string USERNAME = getpwuid(getuid())->pw_name; | ^ hyprpm/src/core/PluginManager.cpp:431:45: error: use of undeclared identifier 'getuid' 431 | const std::string USERNAME = getpwuid(getuid())->pw_name; | ^ hyprpm/src/core/PluginManager.cpp:558:43: error: use of undeclared identifier 'getuid' 558 | const std::string USERNAME = getpwuid(getuid())->pw_name; | ^
This commit is contained in:
parent
801437cd54
commit
07e070012b
2 changed files with 5 additions and 2 deletions
|
|
@ -15,6 +15,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <pwd.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <toml++/toml.hpp>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue