mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +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
|
@ -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 a new issue