diff options
-rw-r--r-- | bootstrap.conf | 1 | ||||
-rw-r--r-- | src/system.h | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index c99838493..08bfc2186 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -158,7 +158,6 @@ gnulib_modules=" nproc obstack parse-datetime - pathmax perl physmem posix-shell diff --git a/src/system.h b/src/system.h index 95ef2c3b3..d250d94f8 100644 --- a/src/system.h +++ b/src/system.h @@ -40,11 +40,10 @@ you must include <sys/types.h> before including this file #include <unistd.h> -/* limits.h must come before pathmax.h because limits.h on some systems - undefs PATH_MAX, whereas pathmax.h sets PATH_MAX. */ #include <limits.h> - -#include "pathmax.h" +#ifndef PATH_MAX +# define PATH_MAX 8192 +#endif #include "configmake.h" |