Date: Wed, 26 Feb 2003 08:07:00 +0200 From: Ari Suutari <ari.suutari@syncrontech.com> To: java@freebsd.org Subject: pre-patchset 3 build problem (and fix) Message-ID: <200302260807.01153.ari.suutari@syncrontech.com>
next in thread | raw e-mail | index | archive | help
Hi,
When building jdk 1.4.1 with pre-patchset 3,
I got following compiler error (on 5.0-release):
In file included from
../../../../src/solaris/hpi/native_threads/src/threads_md.c:24:
/usr/include/sys/resource.h:61: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:62: field `ru_stime' has incomplete type
In file included from ../../../../src/share/hpi/include/hpi_impl.h:11,
from
../../../../src/solaris/hpi/native_threads/src/threads_md.c
Following patch seems to help:
*** threads_md.c.orig Wed Feb 26 08:02:55 2003
--- threads_md.c Wed Feb 26 08:02:58 2003
***************
*** 21,26 ****
--- 21,27 ----
#include <signal.h>
#include <sys/types.h>
#include <sys/signal.h>
+ #include <sys/time.h>
#include <sys/resource.h>
#include "hpi_impl.h"
Ari S.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302260807.01153.ari.suutari>
