name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H

2002-02-06  Adam Megacz <adam@xwt.org>

        * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H

From-SVN: r49564
This commit is contained in:
Adam Megacz 2002-02-07 04:37:00 +00:00 committed by Adam Megacz
parent b1d246853d
commit 4048d33691
4 changed files with 330 additions and 331 deletions

View File

@ -1,3 +1,7 @@
2002-02-06 Adam Megacz <adam@xwt.org>
* name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
2002-02-06 Anthony Green <green@redhat.com>
* java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.

653
libjava/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -772,6 +772,7 @@ AC_CHECK_HEADERS(inttypes.h, [
AC_DEFINE(HAVE_INTTYPES_H, 1, [Define if <inttypes.h> is available])
AC_DEFINE(JV_HAVE_INTTYPES_H, 1, [Define if <inttypes.h> is available])
])
AC_HEADER_SYS_WAIT()
AC_CHECK_TYPE([ssize_t], [int])

View File

@ -17,7 +17,10 @@ details. */
#include <jvm.h>
#include <sys/types.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#include <string.h>
#include <stdio.h>