mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 17:58:59 +00:00
LibC: Add definition for the rlim_t type
The missing type caused the binutils and dash ports to fail to build.
This commit is contained in:
parent
25cf59f2f6
commit
93431b861a
Notes:
sideshowbarker
2024-07-18 18:25:51 +09:00
Author: https://github.com/gunnarbeutner
Commit: 93431b861a
Pull-request: https://github.com/SerenityOS/serenity/pull/6989
1 changed files with 4 additions and 2 deletions
|
@ -46,9 +46,11 @@ int getrusage(int who, struct rusage* usage);
|
||||||
|
|
||||||
#define RLIM_INFINITY SIZE_MAX
|
#define RLIM_INFINITY SIZE_MAX
|
||||||
|
|
||||||
|
typedef size_t rlim_t;
|
||||||
|
|
||||||
struct rlimit {
|
struct rlimit {
|
||||||
size_t rlim_cur;
|
rlim_t rlim_cur;
|
||||||
size_t rlim_max;
|
rlim_t rlim_max;
|
||||||
};
|
};
|
||||||
|
|
||||||
int getrlimit(int, struct rlimit*);
|
int getrlimit(int, struct rlimit*);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue