« Return to Thread: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.

Re: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.

by Axel Beckert :: Rate this Message:

Reply to Author | View in Thread

Hi,

On Thu, Jun 18, 2009 at 11:06:08AM +0200, burin080@... wrote:

> The header file <sys/resource.h> defines rlimit related structs, functions and constants. It's not being #included on FreeBSD.
>
> Digging deeper, I have found the reason for this:
>
> On Slackware:
> $ grep -n '#include <sys/resource.h>' /usr/include/sys/wait.h
> 32:#include <sys/resource.h>
>
> On FreeBSD:
> $ grep -n '#include <sys/resource.h>' /usr/include/sys/wait.h
> (nothing)

So it shouldn't hurt to included it on Linux, too.

Just tested it on Debian Lenny. As expected, it still compiles fine on
Linux. I'll commit that change soon if nobody else does or objects.

                Regards, Axel
--
Axel Beckert - abe@..., abe@... - http://noone.org/abe/
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

 « Return to Thread: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.