natPosixProcess.cc: Include <sys/time.h> before <sys/resource.h> to restore bootstrap...
authorRoger Sayle <roger@eyesopen.com>
Fri, 13 Jul 2007 13:53:43 +0000 (13:53 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 13 Jul 2007 13:53:43 +0000 (13:53 +0000)
* java/lang/natPosixProcess.cc: Include <sys/time.h> before
<sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.

From-SVN: r126621

libjava/ChangeLog
libjava/java/lang/natPosixProcess.cc

index a8f754aac62efb4775141cf7ed11440d5028df8e..a51629f442431c221aab4740fa68e0d9ccf2d393 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-13  Roger Sayle  <roger@eyesopen.com>
+
+       * java/lang/natPosixProcess.cc: Include <sys/time.h> before
+       <sys/resource.h> to restore bootstrap on powerpc-apple-darwin7.9.0.
+
 2007-07-12  Matthias Klose  <doko@ubuntu.com>
 
        * gnu/classpath/jdwp/util/MethodResult.h,
index 02b9ebd0e19287d47181868fe2b4787ac84d7da8..eadc44f84038e7669a26527c1cf667e7b9bf73f2 100644 (file)
@@ -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