diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-06 21:04:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-06 21:04:15 +0000 |
commit | 481fd54919d0e85bd433c6d6f440e827f0c5f184 (patch) | |
tree | 25d3eb397eaa859533c46253d348bd3e272c6857 /lib/rpmatch.c | |
parent | 01d33d71dcab6b11903b1458b09e7fb42c9f95b4 (diff) | |
download | coreutils-481fd54919d0e85bd433c6d6f440e827f0c5f184.tar.xz |
Include <limits.h> without checking for HAVE_LIMITS_H.
Include <stddefs.h> unconditionally.
(NULL): Don't define, since <stddef.h> does that.
Diffstat (limited to 'lib/rpmatch.c')
-rw-r--r-- | lib/rpmatch.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index 02c2abdb8..7759d0ca7 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -1,6 +1,6 @@ /* Determine whether string value is affirmation or negative response according to current locale's data. - Copyright (C) 1996, 1998, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 2000, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,20 +20,14 @@ # include <config.h> #endif +#include <stddef.h> #if STDC_HEADERS || _LIBC -# include <stddef.h> # include <stdlib.h> -#else -# ifndef NULL -# define NULL 0 -# endif #endif #if ENABLE_NLS # include <sys/types.h> -# if HAVE_LIMITS_H -# include <limits.h> -# endif +# include <limits.h> # include <regex.h> # include "gettext.h" # define _(msgid) gettext (msgid) |