From owner-freebsd-java Tue Feb 25 22: 7: 7 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6536037B401 for ; Tue, 25 Feb 2003 22:07:06 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC56743FAF for ; Tue, 25 Feb 2003 22:07:04 -0800 (PST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.6/8.12.6) with ESMTP id h1Q672EI016691 for ; Wed, 26 Feb 2003 08:07:03 +0200 (EET) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari To: java@freebsd.org Subject: pre-patchset 3 build problem (and fix) Date: Wed, 26 Feb 2003 08:07:00 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302260807.01153.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 #include #include + #include #include #include "hpi_impl.h" Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message