Ethereal-dev: Re: [Ethereal-dev] packet-tcp.h should include emem.h

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 11 Apr 2006 10:35:00 +0200 (CEST)
Hi,

There doesn't seem to be a coding rule within the Ethereal code base that
states that a header file itself must include the header files it depends
on. If it is we have a whole lot of work to do...

Thanx,
Jaap

On Tue, 11 Apr 2006, Thomas Boehne wrote:

> My dissector includes packet-tcp.h, which uses se_tree_t from emem.h
> without including it. Could someone please add an
>
> #include <epan/emem.h>
>
> to packet-tcp.h? Or is there a special reason for not including it?
>
> Regards,
> Thomas
>