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
This commit is contained in:
Tom Tromey 2002-02-07 19:25:28 +00:00 committed by Tom Tromey
parent fc7563ecb0
commit 9f2618df7e
3 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-02-07 Tom Tromey <tromey@redhat.com>
* include/name-finder.h: Conditionally include sys/wait.h.
* include/config.h.in: Rebuilt.
* java/io/natFile.cc (_access): Don't stack-allocate buffer.
Size buffer based on real size of string.
(_stat): Likewise.

View File

@ -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

View File

@ -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>