[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strcasestr compilation problem
From: |
James Youngman |
Subject: |
Re: strcasestr compilation problem |
Date: |
Wed, 31 Aug 2005 08:59:18 +0100 |
User-agent: |
Mutt/1.5.9i |
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).
By the way, I think you have mis-spelled "Responsible" in your
signature (though perhaps you meant "Responsible for").
Regards,
James.