This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

WIN-10: patch to name-finder.h



2002-02-04  Adam Megacz <adam@xwt.org>
 
        * name-finder.h: don't #include sys/wait.h unless HAVE_PIPE &&
          HAVE_FORK

Index: name-finder.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/name-finder.h,v
retrieving revision 1.2
diff -u -r1.2 name-finder.h
--- name-finder.h       2000/05/30 23:26:02     1.2
+++ name-finder.h       2002/02/04 22:57:22
@@ -17,7 +17,10 @@
 #include <jvm.h>
 
 #include <sys/types.h>
+
+#if defined (HAVE_PIPE) && defined (HAVE_FORK)
 #include <sys/wait.h>
+#endif
 
 #include <string.h>
 #include <stdio.h>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]