mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +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
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