]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <limits.h> unconditionally, since other
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 May 2005 07:30:51 +0000 (07:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 May 2005 07:30:51 +0000 (07:30 +0000)
files have been getting away with it for years (MORE/BSD 4.3
is extinct now).

lib/pathmax.h

index f6a973813fddba818bbd23896c49a06b71eceab5..613c56c0974ccead42c1797b94a3a43df2dcf0bb 100644 (file)
 #  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