From: Khem Raj <raj.k...@gmail.com> 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 <raj.k...@gmail.com> Signed-off-by: Mike Frysinger <vap...@gentoo.org> --- lib/spawn.in.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/spawn.in.h b/lib/spawn.in.h index 26c3c10..c4304a3 100644 --- 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 <sched.h> # include <signal.h> #endif -- 1.7.3.2