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.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 30 Jul 2002 03:03:12 -0700
On Mon, Jul 29, 2002 at 10:27:55AM +0200, Joerg Mayer wrote:
> Thanks. I'll wait a few days in case problems come up on other OSses or
> compilers.

Well, here's a complaint on Windows with MSVC++:

<winsock2.h> is needed to get "struct timeval" defined, and Wiretap 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.)