aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-05-22 17:01:02 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2005-05-22 17:01:02 +0000
commit8ba8f7e5571e59c2efeebf1b5da9f3491658a8c7 (patch)
treee078e083a30b42c3c801c396c1bd92fa2c745d03
parentc5d7449889388811f079bd771a240a470c9f18ac (diff)
downloadgcc-8ba8f7e5571e59c2efeebf1b5da9f3491658a8c7.zip
gcc-8ba8f7e5571e59c2efeebf1b5da9f3491658a8c7.tar.gz
gcc-8ba8f7e5571e59c2efeebf1b5da9f3491658a8c7.tar.bz2
re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))
PR target/21683 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC. From-SVN: r100066
-rw-r--r--fixincludes/ChangeLog5
-rw-r--r--fixincludes/fixincl.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index de13766..7ecea47 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
+
+ PR target/21683
+ * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
+
2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
Joseph S. Myers <joseph@codesourcery.com>
diff --git a/fixincludes/fixincl.c b/fixincludes/fixincl.c
index 5f07afa..6d967e6 100644
--- a/fixincludes/fixincl.c
+++ b/fixincludes/fixincl.c
@@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */
#include "fixlib.h"
#include <sys/stat.h>
+#ifndef SEPARATE_FIX_PROC
#include <sys/wait.h>
+#endif
#if defined( HAVE_MMAP_FILE )
#include <sys/mman.h>