On Tue, Sep 08, 2009 at 11:09:10PM +0800, Wang Weijun wrote: > which header file? I'm building on my 10.5.8 and it fails without this > line.
Hmmm, FreeBSD must be pulling it in implicitly :(. Let me fix that. #include <stdint.h> > ------- Original message ------- > > From: Greg Lewis <gle...@eyesbeyond.com> > > Cc: bsd-port-dev@openjdk.java.net > > Sent: 8.9.'09, 22:59 > > > > On Tue, Sep 08, 2009 at 03:53:15PM +0800, Max (Weijun) Wang wrote: > >> On Sep 8, 2009, at 11:07 AM, gle...@eyesbeyond.com wrote: > >> > >> > .... > >> > >> > Changeset: 6b3cf06c18e5 > >> > Author: gle...@misty.eyesbeyond.com > >> > Date: 2009-09-07 19:40 -0700 > >> > URL: > >> http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/6b3cf06c18e5 > >> > > >> > . Make the new sun/security/ec code compile on *BSD. > >> > > >> > ! make/sun/security/ec/Makefile > >> > ! src/share/native/sun/security/ec/ecc_impl.h > >> > ! src/share/native/sun/security/ec/ecdecode.c > >> > ! src/share/native/sun/security/ec/oid.c > >> > ! src/share/native/sun/security/ec/secitem.c > >> > > >> > >> The newly added #ifdef _ALLBSD_SOURCE block in ecc_impl.h lacks one > >> typedef: > >> > >> typedef unsigned char uint8_t; > > > > Deliberately so :). Thats a standard definition that can be pulled in > > through header files, there is no need for it here. The Linux version > > doesn't actually need it either. > > > > -- > > Greg Lewis Email : gle...@eyesbeyond.com > > Eyes Beyond Web : http://www.eyesbeyond.com > > Information Technology FreeBSD : gle...@freebsd.org > > -- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@freebsd.org