mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-07 14:57:21 +08:00
timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
* timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>. [NEED_DECLARATION_GETRUSAGE]: Declare getrusage. From-SVN: r34884
This commit is contained in:
parent
121470c81d
commit
f9721d41cb
@ -1,3 +1,8 @@
|
||||
2000-07-06 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
|
||||
[NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
|
||||
|
||||
2000-07-05 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* h8300-proto.h: Fix formatting.
|
||||
|
@ -27,6 +27,13 @@
|
||||
# include <sys/times.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_RESOURCE_H
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
#ifdef NEED_DECLARATION_GETRUSAGE
|
||||
extern int getrusage PARAMS ((int, struct rusage *));
|
||||
#endif
|
||||
|
||||
#include "flags.h"
|
||||
#include "timevar.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user