aboutsummaryrefslogtreecommitdiffstats
path: root/main/bison/gnulib-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bison/gnulib-uclibc.patch')
-rw-r--r--main/bison/gnulib-uclibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/bison/gnulib-uclibc.patch b/main/bison/gnulib-uclibc.patch
new file mode 100644
index 0000000000..09775d6b18
--- /dev/null
+++ b/main/bison/gnulib-uclibc.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/spawn.in.h b/lib/spawn.in.h
+index 84ba93c..6df4599 100644
+--- a/lib/spawn.in.h
++++ b/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