[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strcasestr compilation problem
From: |
Yoann Vandoorselaere |
Subject: |
Re: strcasestr compilation problem |
Date: |
Wed, 31 Aug 2005 09:58:14 +0200 |
On Wed, 2005-08-31 at 08:59 +0100, James Youngman wrote:
> On Wed, Aug 31, 2005 at 08:12:10AM +0200, Yoann Vandoorselaere wrote:
>
> > The strcasestr module miss the inclusion of the stdio.h header,
> > resulting in missing declaration for the NULL identifier on some
> > systems.
>
> I haven't checked the code, but I suspect that a better choice would
> be to include <stdlib.h> which must also #define NULL. That way you
> end up with less other stuff being included without necessity and the
> code stands a greater chance of working when compiled in a stand-alone
> environment (not that gnulib is really designed for such an
> environment).
Sound okay to me..
> By the way, I think you have mis-spelled "Responsible" in your
> signature (though perhaps you meant "Responsible for").
Thanks, but no, it is the french word for 'Person in charge' :-)
--
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58 Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com