From 1a9771061b107315255f8b86c9850f8f26ad7987 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 5 Sep 1996 02:48:41 +0000 Subject: [PATCH] Make sure NULL is defined by including stddef.h (if STDC_HEADERS || _LIBC) or simply defining it (otherwise). Include sys/types.h for definition of size_t needed by regex.h. --- lib/rpmatch.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/rpmatch.c b/lib/rpmatch.c index 55d3bba13..65674b6ab 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -21,9 +21,15 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #endif #if STDC_HEADERS || _LIBC +# include # include +#else +# ifndef NULL +# define NULL 0 +# endif #endif +#include #include #if ENABLE_NLS -- 2.11.4.GIT