libs/gettext: update to version 1.18.1.1
[openwrt/svn-archive/archive.git] / libs / gettext / patches / 160-uclibc_sched_h_fix.patch
1 --- a/gettext-tools/gnulib-lib/spawn.h
2 +++ b/gettext-tools/gnulib-lib/spawn.h
3 @@ -32,8 +32,10 @@
4
5 /* Get definitions of 'struct sched_param' and 'sigset_t'.
6 But avoid namespace pollution on glibc systems. */
7 -#ifndef __GLIBC__
8 +#ifndef __GLIBC__ || __UCLIBC__
9 # include <sched.h>
10 +#endif
11 +#ifndef __GLIBC__
12 # include <signal.h>
13 #endif
14