diff options
Diffstat (limited to 'devel/electron23/files/patch-base_posix_can__lower__nice__to.cc')
-rw-r--r-- | devel/electron23/files/patch-base_posix_can__lower__nice__to.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/electron23/files/patch-base_posix_can__lower__nice__to.cc b/devel/electron23/files/patch-base_posix_can__lower__nice__to.cc new file mode 100644 index 000000000000..67a5d35808ae --- /dev/null +++ b/devel/electron23/files/patch-base_posix_can__lower__nice__to.cc @@ -0,0 +1,16 @@ +--- base/posix/can_lower_nice_to.cc.orig 2022-02-28 16:54:41 UTC ++++ base/posix/can_lower_nice_to.cc +@@ -11,8 +11,12 @@ + + #include "build/build_config.h" + ++#if BUILDFLAG(IS_FREEBSD) ++#include <sys/param.h> ++#endif ++ + // Not defined on AIX by default. +-#if BUILDFLAG(IS_AIX) ++#if BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD) + #if defined(RLIMIT_NICE) + #error Assumption about OS_AIX is incorrect + #endif |