From: Bruno Haible Date: Wed, 31 Aug 2005 11:51:18 +0000 (+0000) Subject: Include a header, to define NULL. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32b9e13eb69168387580d50b58f1dbd032b862ce;p=pspp Include a header, to define NULL. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 86b7d4cd95..5d5737164d 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 5a0fc426ec..64291a17cd 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 3faae01407..496e19b06a 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