diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 08:37:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 08:37:15 +0000 |
commit | a8a090ae08c4b5b6103137955258f77ac1bcf001 (patch) | |
tree | d6a7e91828dc6d403603bac3d3eb4e477c24844a /lib | |
parent | 07c211b0f87a73c9f6c680a933dbc0c4dfd82023 (diff) | |
download | coreutils-a8a090ae08c4b5b6103137955258f77ac1bcf001.tar.xz |
Include <stdlib.h>, <string.h> unconditionally.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getdate.y | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/getdate.y b/lib/getdate.y index c131dde13..40fd4e0fe 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -43,9 +43,7 @@ #include <ctype.h> -#if HAVE_STDLIB_H -# include <stdlib.h> /* for `free'; used by Bison 1.27 */ -#endif +#include <stdlib.h> /* for `free'; used by Bison 1.27 */ #if STDC_HEADERS || (! defined isascii && ! HAVE_ISASCII) # define IN_CTYPE_DOMAIN(c) 1 @@ -67,9 +65,7 @@ of `digit' even when the host does not conform to POSIX. */ #define ISDIGIT(c) ((unsigned) (c) - '0' <= 9) -#if STDC_HEADERS || HAVE_STRING_H -# include <string.h> -#endif +#include <string.h> #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__ # define __attribute__(x) |