Re: [PATCH] spawn.h: fix header inclusion for uClibc systems

2010-11-20 Thread Bruno Haible
Mike Frysinger wrote: > --- a/lib/spawn.in.h > +++ b/lib/spawn.in.h > @@ -32,7 +32,7 @@ > > /* Get definitions of 'struct sched_param' and 'sigset_t'. > But avoid namespace pollution on glibc systems. */ > -#ifndef __GLIBC__ > +#if !defined __GLIBC__ || defined __UCLIBC__ > # include > #

[PATCH] spawn.h: fix header inclusion for uClibc systems

2010-11-19 Thread Mike Frysinger
From: Khem Raj uclibc defines __GLIBC__ but it does not expose struct shed_param as much as glibc and is not needed too per standard. gnulib attempts to use it but we have to account for it because in this case uclibc does not behave like glibc. Signed-off-by: Khem Raj Signed-off-by: Mike Frys