diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-12-07 09:43:49 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-12-07 09:43:49 +0100 |
commit | a652fc271ff64ff384d205cc71243dec0ebf4891 (patch) | |
tree | 705930a5b2f3ef8194692e4070fbf9e4b14c0255 /src/plugins | |
parent | a498402e7859fc262bf5697f3d77c3e40deccb8e (diff) | |
download | weechat-a652fc271ff64ff384d205cc71243dec0ebf4891.zip |
Add missing include of limits.h
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fifo/fifo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/fifo/fifo.c b/src/plugins/fifo/fifo.c index c0e57d086..4a79e8ec6 100644 --- a/src/plugins/fifo/fifo.c +++ b/src/plugins/fifo/fifo.c @@ -26,6 +26,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> +#include <limits.h> #include <fcntl.h> #include "../weechat-plugin.h" @@ -39,6 +40,10 @@ WEECHAT_PLUGIN_AUTHOR("FlashCode <flashcode@flashtux.org>"); WEECHAT_PLUGIN_VERSION(WEECHAT_VERSION); WEECHAT_PLUGIN_LICENSE("GPL3"); +#ifndef PATH_MAX + #define PATH_MAX 4096 +#endif + #define FIFO_FILENAME_PREFIX "weechat_fifo_" struct t_weechat_plugin *weechat_fifo_plugin = NULL; |