From 9f2618df7e8f85de2b820157d41740b9533dded8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 7 Feb 2002 19:25:28 +0000 Subject: name-finder.h: Conditionally include sys/wait.h. * include/name-finder.h: Conditionally include sys/wait.h. * include/config.h.in: Rebuilt. From-SVN: r49585 --- libjava/include/config.h.in | 3 +++ libjava/include/name-finder.h | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libjava/include') diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index 429e1ce..94d3b60 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -13,6 +13,9 @@ /* Define if you have and it should be used (not on Ultrix). */ #undef HAVE_ALLOCA_H +/* Define if you have 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 f2a9aa1..46ae20a 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 +#ifdef HAVE_SYS_WAIT_H #include +#endif #include #include -- cgit v1.1