From: Bruno Haible Date: Wed, 31 Aug 2005 11:51:18 +0000 (+0000) Subject: Include a header, to define NULL. X-Git-Tag: cvs-readonly~3022 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=32b9e13eb69168387580d50b58f1dbd032b862ce;p=gnulib.git Include a header, to define NULL. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 86b7d4cd9..5d5737164 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,9 @@ +2005-08-31 Bruno Haible + + * strstr.c: Include , for NULL. + * strcasestr.c: Likewise. + Reported by Yoann Vandoorselaere . + 2005-08-30 "Oskar Liljeblad" * iconvme.h: Add prototype for iconv_alloc. diff --git a/lib/strcasestr.c b/lib/strcasestr.c index 5a0fc426e..64291a17c 100644 --- a/lib/strcasestr.c +++ b/lib/strcasestr.c @@ -24,6 +24,7 @@ #include "strcasestr.h" #include +#include /* for NULL */ #if HAVE_MBRTOWC # include "mbuiter.h" diff --git a/lib/strstr.c b/lib/strstr.c index 3faae0140..496e19b06 100644 --- a/lib/strstr.c +++ b/lib/strstr.c @@ -23,6 +23,8 @@ /* Specification. */ #include "strstr.h" +#include /* for NULL */ + #if HAVE_MBRTOWC # include "mbuiter.h" #endif