diff --git a/kernel/include/generic-rlimit.h b/kernel/include/generic-rlimit.h index 435af3a8..65c64008 100644 --- a/kernel/include/generic-rlimit.h +++ b/kernel/include/generic-rlimit.h @@ -13,9 +13,11 @@ #ifndef __GENERIC_RLIMIT_H #define __GENERIC_RLIMIT_H +typedef uint64_t rlim_t; + struct rlimit { - uint64_t rlim_cur; /* Soft limit */ - uint64_t rlim_max; /* Hard limit (ceiling for rlim_cur) */ + rlim_t rlim_cur; /* Soft limit */ + rlim_t rlim_max; /* Hard limit (ceiling for rlim_cur) */ }; #endif