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

Axel Beckert abe at deuxchevaux.org
Thu Jun 18 03:37:49 PDT 2009


Hi,

On Thu, Jun 18, 2009 at 11:06:08AM +0200, burin080 at planet.nl 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 at deuxchevaux.org, abe at noone.org - http://noone.org/abe/


More information about the Conkeror mailing list