mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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: https://github.com/SerenityOS/serenity/commit/93431b861a3 Pull-request: https://github.com/SerenityOS/serenity/pull/6989
@ -46,9 +46,11 @@ int getrusage(int who, struct rusage* usage);
|
||||
|
||||
#define RLIM_INFINITY SIZE_MAX
|
||||
|
||||
typedef size_t rlim_t;
|
||||
|
||||
struct rlimit {
|
||||
size_t rlim_cur;
|
||||
size_t rlim_max;
|
||||
rlim_t rlim_cur;
|
||||
rlim_t rlim_max;
|
||||
};
|
||||
|
||||
int getrlimit(int, struct rlimit*);
|
||||
|
Loading…
Reference in New Issue
Block a user