summaryrefslogtreecommitdiff
path: root/libjava/include
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-07 19:25:28 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2002-02-07 19:25:28 +0000
commit470962b0f2b46b19d29a91e255bc60b982fa6a67 (patch)
tree271e138b6f0e5139941d128fbd597340feaec4d1 /libjava/include
parentc0632db132497d13e1e9e01c3e49252f7a8aa339 (diff)
downloadgcc-470962b0f2b46b19d29a91e255bc60b982fa6a67.tar.gz
* include/name-finder.h: Conditionally include sys/wait.h.
* include/config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49585 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r--libjava/include/config.h.in3
-rw-r--r--libjava/include/name-finder.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in
index 429e1ce83ca..94d3b60a180 100644
--- a/libjava/include/config.h.in
+++ b/libjava/include/config.h.in
@@ -13,6 +13,9 @@
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#undef HAVE_ALLOCA_H
+/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
+#undef HAVE_SYS_WAIT_H
+
/* Define if your struct tm has tm_zone. */
#undef HAVE_TM_ZONE
diff --git a/libjava/include/name-finder.h b/libjava/include/name-finder.h
index f2a9aa1587e..46ae20a3293 100644
--- a/libjava/include/name-finder.h
+++ b/libjava/include/name-finder.h
@@ -1,6 +1,6 @@
// name-finder.h - Convert addresses to names
-/* Copyright (C) 2000 Red Hat Inc
+/* Copyright (C) 2000, 2002 Free Software Foundation, Inc
This file is part of libgcj.
@@ -18,7 +18,9 @@ details. */
#include <sys/types.h>
+#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
+#endif
#include <string.h>
#include <stdio.h>