diff options
-rw-r--r-- | sys/sys/resource.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/sys/resource.h b/sys/sys/resource.h index ecdb02a..91b1141 100644 --- a/sys/sys/resource.h +++ b/sys/sys/resource.h @@ -37,6 +37,16 @@ #include <sys/_timeval.h> #include <sys/_types.h> +#ifndef _ID_T_DECLARED +typedef __id_t id_t; +#define _ID_T_DECLARED +#endif + +#ifndef _RLIM_T_DECLARED +typedef __rlim_t rlim_t; +#define _RLIM_T_DECLARED +#endif + /* * Process priority specifications to get/setpriority. */ @@ -136,11 +146,6 @@ static const char *rlimit_ident[RLIM_NLIMITS] = { }; #endif -#ifndef _RLIM_T_DECLARED -typedef __rlim_t rlim_t; -#define _RLIM_T_DECLARED -#endif - struct rlimit { rlim_t rlim_cur; /* current (soft) limit */ rlim_t rlim_max; /* maximum value for rlim_cur */ |