From 32b9e13eb69168387580d50b58f1dbd032b862ce Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 31 Aug 2005 11:51:18 +0000 Subject: [PATCH] Include a header, to define NULL. --- lib/ChangeLog | 6 ++++++ lib/strcasestr.c | 1 + lib/strstr.c | 2 ++ 3 files changed, 9 insertions(+) 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 -- 2.30.2