Wireshark-dev: Re: [Wireshark-dev] stdio.h/stdlib.h includes apparently not req'd in epan/disse
From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Fri, 17 Oct 2008 21:51:51 -0600
On Thu, Oct 16, 2008 at 11:56:40PM +0100, John Sullivan wrote:

> I recently had to add in <stdio.h> to a bunch of (local-to-me) source 
> files because I upgraded to the latest Fedora 9 with g++ 4.3.0 and 
> that seems to believe that NULL is only defined once <stdio.h> is 
> *explicitly* pulled in.

FYI: NULL is also defined by including glib.h:

  http://library.gnome.org/devel/glib/2.18/glib-Standard-Macros.html#NULL


Steve