summaryrefslogtreecommitdiffstats
path: root/main/gettext/gettext-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gettext/gettext-uclibc.patch')
-rw-r--r--main/gettext/gettext-uclibc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gettext/gettext-uclibc.patch b/main/gettext/gettext-uclibc.patch
new file mode 100644
index 000000000..d797c1cd9
--- /dev/null
+++ b/main/gettext/gettext-uclibc.patch
@@ -0,0 +1,11 @@
+--- ./gettext-tools/gnulib-lib/spawn.in.h.orig
++++ ./gettext-tools/gnulib-lib/spawn.in.h
+@@ -31,7 +31,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