re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header))
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 22 May 2005 17:01:02 +0000 (17:01 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 22 May 2005 17:01:02 +0000 (17:01 +0000)
        PR target/21683
        * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.

From-SVN: r100066

fixincludes/ChangeLog
fixincludes/fixincl.c

index de13766fa73d89abd575f5fc1b9376d89cd23f12..7ecea475ebad0935d47f3b55764b896007303a98 100644 (file)
@@ -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>
 
index 5f07afa408f8ce93035fd5eca613b1d1a6904184..6d967e6428b9c84189b3827072847878beeb2613 100644 (file)
@@ -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>