summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-30 07:30:51 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-30 07:30:51 +0000
commitc86717d0dde7f8a3728156a8f05c78543f218bb4 (patch)
tree19a811fea981c570540dd56c11f3caff13b2dbc8 /lib
parentfcb5c87adb552db0716b77cedbdd0b0b3174926c (diff)
downloadcoreutils-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).
Diffstat (limited to 'lib')
-rw-r--r--lib/pathmax.h7
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