mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
Kernel: Add _SC_PAGESIZE to sysconf
This unbreaks the gcc and binutils ports. Previously, when _SC_PAGESIZE was missing, these packages opted to use their own versions of getpagesize which made their build fail because of conflicting definitions of the function.
This commit is contained in:
parent
cf78c16afd
commit
5cd7159629
2 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,7 @@
|
|||
enum {
|
||||
_SC_NPROCESSORS_CONF,
|
||||
_SC_NPROCESSORS_ONLN,
|
||||
_SC_PAGESIZE,
|
||||
};
|
||||
|
||||
#define PERF_EVENT_MALLOC 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue