summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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