summaryrefslogtreecommitdiff
path: root/fixincludes
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-22 17:01:02 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-22 17:01:02 +0000
commit7a54a09a41bcd1332316292c62f7ac2abc509747 (patch)
treee078e083a30b42c3c801c396c1bd92fa2c745d03 /fixincludes
parent6368d8ec6403bb18b2cfe4e54ac30d8f089cabb8 (diff)
downloadgcc-7a54a09a41bcd1332316292c62f7ac2abc509747.tar.gz
PR target/21683
* fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100066 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes')
-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 de13766fa73..7ecea475eba 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 5f07afa408f..6d967e6428b 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>