diff --git a/libc/include/sys/resource.h b/libc/include/sys/resource.h index a91fa5394..3f8dd4571 100644 --- a/libc/include/sys/resource.h +++ b/libc/include/sys/resource.h @@ -36,6 +36,10 @@ __BEGIN_DECLS +/* The kernel header doesn't have these, but POSIX does. */ +#define RLIM_SAVED_CUR RLIM_INFINITY +#define RLIM_SAVED_MAX RLIM_INFINITY + typedef unsigned long rlim_t; extern int getrlimit(int, struct rlimit*);