1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

script: fix compilation on GNU/Hurd (patch #7977) (thanks to Andrew Potter)

PATH_MAX is now defined in weechat-plugin.h (if not defined, for example on
GNU/Hurd), so that all plugins can use it.
This commit is contained in:
Sebastien Helleu
2013-03-25 08:14:33 +01:00
parent d654fca853
commit adbfda00f5
3 changed files with 8 additions and 8 deletions
+5
View File
@@ -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;