From 33a1238e6c940033d1155c188dcb3adad8187932 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 30 Jul 2010 20:07:14 +0200 Subject: more FreeBSD fixes and package updates --- package/bison/patches/patch-lib_spawn_in_h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/bison/patches/patch-lib_spawn_in_h (limited to 'package/bison/patches/patch-lib_spawn_in_h') 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 +-# include +-#endif +- ++#include ++#include + #include + + #ifndef __THROW -- cgit v1.2.3