This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: <sys/time.h> is needed while compiling microwindows.
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: kjlin at aviqtech dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 12 Jun 2003 18:15:25 +0200
- Subject: Re: [ECOS] <sys/time.h> is needed while compiling microwindows.
- References: <OFA04D6B19.99E82851-ON48256D43.0027A39F@LocalDomain>
On Thu, Jun 12, 2003 at 03:44:08PM +0800, kjlin@aviqtech.com wrote:
> Hi all,
>
> I am a newby in the eCos world.
> I was puzzled by the <sys/time.h> which needed in the "device.h" of
> microwin.
> However, the <sys/time.h> is not provided in eCos.
> How to make it available while compiling microwin for eCos?
> Do i need to write a dummy <sys/time.h>?
> Or may i use the <sys/time.h> in the system include path instead of the
> eCos install path?
> Thanks.
A guess. Both tcp/ip stacks provide a sys/time.h file. My guess is
everybody using Microwin has also been using a tcp/ip stack.
If you are not using a stack, then you probably need to provide a
dummy version of this file. See what you actually need from it.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss