Root/package/libs/gettext-full/patches/004-gnulib-uclibc-sched_param-def.patch

1uclibc defines __GLIBC__ but it does not expose struct shed_param as much as glibc
2and is not needed too per standard. gnulib attempts to use it but we have to account
3for it because in this case uclibc does not behave like glibc.
4
5-Khem
6
7--- a/gettext-tools/gnulib-lib/spawn.in.h
8+++ b/gettext-tools/gnulib-lib/spawn.in.h
9@@ -31,7 +31,7 @@
10 
11 /* Get definitions of 'struct sched_param' and 'sigset_t'.
12    But avoid namespace pollution on glibc systems. */
13-#ifndef __GLIBC__
14+#if !defined __GLIBC__ || defined __UCLIBC__
15 # include <sched.h>
16 # include <signal.h>
17 #endif
18

Archive Download this file



interactive