summaryrefslogtreecommitdiff
path: root/package/bison/patches/patch-lib_spawn_in_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/bison/patches/patch-lib_spawn_in_h')
-rw-r--r--package/bison/patches/patch-lib_spawn_in_h18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/bison/patches/patch-lib_spawn_in_h b/package/bison/patches/patch-lib_spawn_in_h
new file mode 100644
index 000000000..a32d9eb93
--- /dev/null
+++ b/package/bison/patches/patch-lib_spawn_in_h
@@ -0,0 +1,18 @@
+--- bison-2.4.2.orig/lib/spawn.in.h 2010-03-17 20:17:04.000000000 +0100
++++ bison-2.4.2/lib/spawn.in.h 2010-07-30 17:23:46.000000000 +0200
+@@ -29,13 +29,8 @@
+ #ifndef _GL_SPAWN_H
+ #define _GL_SPAWN_H
+
+-/* Get definitions of 'struct sched_param' and 'sigset_t'.
+- But avoid namespace pollution on glibc systems. */
+-#ifndef __GLIBC__
+-# include <sched.h>
+-# include <signal.h>
+-#endif
+-
++#include <sched.h>
++#include <signal.h>
+ #include <sys/types.h>
+
+ #ifndef __THROW