mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-08-07 09:11:11 +02:00
Include <limits.h> unconditionally, since other
files have been getting away with it for years (MORE/BSD 4.3 is extinct now).
This commit is contained in:
+1
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user