mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
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:
parent
fc7563ecb0
commit
9f2618df7e
@ -1,5 +1,8 @@
|
|||||||
2002-02-07 Tom Tromey <tromey@redhat.com>
|
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.
|
* java/io/natFile.cc (_access): Don't stack-allocate buffer.
|
||||||
Size buffer based on real size of string.
|
Size buffer based on real size of string.
|
||||||
(_stat): Likewise.
|
(_stat): Likewise.
|
||||||
|
@ -13,6 +13,9 @@
|
|||||||
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
|
||||||
#undef HAVE_ALLOCA_H
|
#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. */
|
/* Define if your struct tm has tm_zone. */
|
||||||
#undef HAVE_TM_ZONE
|
#undef HAVE_TM_ZONE
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// name-finder.h - Convert addresses to names
|
// 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.
|
This file is part of libgcj.
|
||||||
|
|
||||||
@ -18,7 +18,9 @@ details. */
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user