[PATCH v3] Merge parts of <sys/time.h> from FreeBSD
Corinna Vinschen
vinschen@redhat.com
Thu Mar 19 08:12:00 GMT 2015
On Mar 18 15:57, Steve Ellcey wrote:
> On Fri, 2015-03-13 at 11:00 +0100, Sebastian Huber wrote:
> > Merge parts of the latest <sys/time.h> from FreeBSD to Newlib. This has
> > two reasons.
> >
> > 1. We want to use the FreeBSD timecounters for timekeeping in RTEMS.
> > See also https://devel.rtems.org/ticket/2271.
> >
> > 2. This makes the port of the network stack from FreeBSD easier.
>
> Is anyone else having problems building newlib with this time.h change?
> My MIPS build is dying with:
>
> In file included
> from /scratch/sellcey/repos/newlib/src/newlib/newlib/libc/time/time.c:38:0:
> /scratch/sellcey/repos/newlib/src/newlib/newlib/libc/include/sys/time.h:60:2: error: unknown type name 'uint64_t'
> uint64_t frac;
> ^
>
>
> I will investigate some more but I wanted to see if anyone else was
> getting this error. I probably would have seen it sooner but I just
> moved to using the new git repository.
Does it help to s/uint64_t/__uint64_t/ in sys/time.h?
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150319/043ad249/attachment.sig>
More information about the Newlib
mailing list