[prev in list] [next in list] [prev in thread] [next in thread]
List: gnulib-bug
Subject: Re: strcasestr compilation problem
From: Ben Pfaff <blp () cs ! stanford ! edu>
Date: 2005-08-31 16:45:58
Message-ID: 87y86iukah.fsf () benpfaff ! org
[Download RAW message or body]
jay@excession.spiral-arm.org (James Youngman) writes:
> 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).
If you're looking for a header that defines NULL and not much
else, then you really want <stddef.h>.
--
"[I]n this era of constant innovation,
it takes a special kind of person to look evolution in the eye
and say "huh?"."
--Chris Hacking
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic