Commit 4048d336 by Adam Megacz Committed by Adam Megacz

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
parent b1d24685
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.
......
......@@ -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])
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment