diff options
Diffstat (limited to 'linux/Platform.h')
-rw-r--r-- | linux/Platform.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/Platform.h b/linux/Platform.h index fe814484..d87ef55a 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -7,6 +7,7 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include <limits.h> #include <stdbool.h> #include <sys/types.h> @@ -18,6 +19,12 @@ in the source distribution for its full text. #include "ProcessLocksScreen.h" #include "SignalsPanel.h" +/* GNU/Hurd does not have PATH_MAX in limits.h */ +#ifndef PATH_MAX + #define PATH_MAX 4096 +#endif + + extern const ProcessField Platform_defaultFields[]; extern const SignalItem Platform_signals[]; |