WIN-10: patch to name-finder.h
Adam Megacz
patches@lists.megacz.com
Mon Feb 4 14:58:00 GMT 2002
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>
More information about the Java-patches
mailing list