This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] ecos and gettimeofday()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]