Wow,

I was just looking for this, this exact moment...

What did you need these definitions for?

I'm trying to build nodejs (have already got libv8 built) and I was
missing the definition for loadavg (and then __fixpt_t).

On 19/04/12 19:25, Robert Millan wrote:
> Modified: trunk/glibc-ports/kfreebsd/bits/resource.h
> ===================================================================
> --- trunk/glibc-ports/kfreebsd/bits/resource.h        2012-04-19 17:36:23 UTC 
> (rev 4208)
> +++ trunk/glibc-ports/kfreebsd/bits/resource.h        2012-04-19 18:25:30 UTC 
> (rev 4209)
> @@ -22,6 +22,7 @@
>  #endif
>  
>  #include <bits/types.h>
> +#include <sys/_types.h>
>  
>  /* Transmute defines to enumerations.  The macro re-definitions are
>     necessary because some programs want to test for operating system
> @@ -118,6 +119,16 @@
>   };
>  #endif
>  
> +struct orlimit {
> +     __int32_t       rlim_cur;       /* current (soft) limit */
> +     __int32_t       rlim_max;       /* maximum value for rlim_cur */
> +};
> +
> +struct loadavg {
> +     __fixpt_t       ldavg[3];
> +     long            fscale;
> +};
> +
>  #define      CP_USER         0
>  #define      CP_NICE         1
>  #define      CP_SYS          2

-- 
Steven Chamberlain
[email protected]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to