diff options
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index b965f0113..429eeecc6 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -24,6 +24,11 @@ #include <sys/types.h> +/* some systems like GNU/Hurd do not define PATH_MAX */ +#ifndef PATH_MAX + #define PATH_MAX 4096 +#endif + struct t_config_option; struct t_gui_window; struct t_gui_buffer; |