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:
Gunnar Beutner 2021-05-09 17:14:19 +02:00 committed by Linus Groh
parent 25cf59f2f6
commit 93431b861a

View file

@ -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*);