Ethereal-dev: Re: [Ethereal-dev] types/include cleanup in wiretap/

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date Prev · Date Next · Thread Prev · Thread Next
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 1 Aug 2002 00:45:54 +0200
On Tue, Jul 30, 2002 at 03:03:12AM -0700, Guy Harris wrote:
> Well, here's a complaint on Windows with MSVC++:
> 
> <winsock2.h> is needed to get "struct timeval" defined, and Wiretap uses
> "struct timeval".

I've just checked in a trivial change to fix this: I've added the include
to wtap.h, which is included into each and every file in wiretap that uses
struct timeval.

> We might just want to define our own structure, along the lines of
> "nstime_t".  (For now, Wiretap still works in microseconds, although we
> might want to make it work in nanoseconds, instead, to handle some
> capture files with sub-microsecond resultion.)

If I find the time I'll look at this during the weekend.

 Ciao
      Jörg

--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.