diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-13 13:53:43 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-13 13:53:43 +0000 |
commit | 7b8353ed709794ad7c47bcf75f12f56e2c028f4f (patch) | |
tree | fe2c1363472c528f12936c3f3ea4e83097ea8185 /libjava/java | |
parent | 8bbfa0648af868df2de16d5b5f8aa79ca3c327c9 (diff) | |
download | gcc-7b8353ed709794ad7c47bcf75f12f56e2c028f4f.tar.gz |
* java/lang/natPosixProcess.cc: Include <sys/time.h> before
<sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/lang/natPosixProcess.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/java/lang/natPosixProcess.cc b/libjava/java/lang/natPosixProcess.cc index 02b9ebd0e19..eadc44f8403 100644 --- a/libjava/java/lang/natPosixProcess.cc +++ b/libjava/java/lang/natPosixProcess.cc @@ -18,6 +18,9 @@ details. */ #include <fcntl.h> #include <sys/types.h> #include <sys/wait.h> +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif #ifdef HAVE_SYS_RESOURCE_H #include <sys/resource.h> #endif |