This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: [ECOS] ecos and gettimeofday()
- From: Alexander Neundorf <neundorf at kde dot org>
- To: Andrew Lunn <andrew at lunn dot ch>,eCos Patches <ecos-patches at ecos dot sourceware dot org>
- Date: Wed, 26 Oct 2005 19:11:46 +0200
- Subject: Re: [ECOS] ecos and gettimeofday()
- References: <200509292331.26058.neundorf@kde.org> <200510232344.21923.neundorf@kde.org> <20051023220224.GE4266@lunn.ch>
- Reply-to: neundorf at kde dot org
On Monday 24 October 2005 00:02, you wrote:
> On Sun, Oct 23, 2005 at 11:44:21PM +0200, Alexander Neundorf wrote:
> > On Sunday 23 October 2005 23:08, Andrew Lunn wrote:
> > > OK. It took a while, but here it is. It took a while to fix all the
> > > things Alex's patch broke, but i think i've got them all covered
> >
> > Very nice, I'll have a look :-)
...
> No it doesn't. The POSIX standard does not say anything about <time.h>
> including <sys/time.h>. I also checked linux's <time.h> and that also
> does not include <sys/time.h> or <bits/time.h>.
I know that POSIX doesn't say that <time.h> should include <sys/time.h>.
In my patch as I posted it <time.h> included <sys/time.h> for the single
purpose of not breaking other eCos stuff (which relied on having struct
timeval in <time.h>)
Well, nice that it's done now the right way, thanks for your efforts :-)
Bye
Alex
--
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org - http://www.kde.org
alex@neundorf.net - http://www.neundorf.net