diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-30 07:30:51 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-05-30 07:30:51 +0000 |
commit | c86717d0dde7f8a3728156a8f05c78543f218bb4 (patch) | |
tree | 19a811fea981c570540dd56c11f3caff13b2dbc8 | |
parent | fcb5c87adb552db0716b77cedbdd0b0b3174926c (diff) | |
download | coreutils-c86717d0dde7f8a3728156a8f05c78543f218bb4.tar.xz |
Include <limits.h> unconditionally, since other
files have been getting away with it for years (MORE/BSD 4.3
is extinct now).
-rw-r--r-- | lib/pathmax.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/pathmax.h b/lib/pathmax.h index f6a973813..613c56c09 100644 --- a/lib/pathmax.h +++ b/lib/pathmax.h @@ -22,12 +22,7 @@ # include <unistd.h> # endif -/* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define - PATH_MAX but might cause redefinition warnings when sys/param.h is - later included (as on MORE/BSD 4.3). */ -# if defined _POSIX_VERSION || !defined __GNUC__ -# include <limits.h> -# endif +# include <limits.h> # ifndef _POSIX_PATH_MAX # define _POSIX_PATH_MAX 256 |