chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / tmux / compat-imsg-buffer.c.patch
1 diff -u -r -N ../tmux-1.8/compat/imsg-buffer.c ./compat/imsg-buffer.c
2 --- ../tmux-1.8/compat/imsg-buffer.c    2013-02-10 17:20:15.000000000 +0100
3 +++ ./compat/imsg-buffer.c      2014-01-08 12:33:53.721206934 +0100
4 @@ -28,6 +28,10 @@
5  
6  #include "tmux.h"
7  
8 +#ifndef IOV_MAX
9 +# define IOV_MAX 1024
10 +#endif
11 +
12  int    ibuf_realloc(struct ibuf *, size_t);
13  void   ibuf_enqueue(struct msgbuf *, struct ibuf *);
14  void   ibuf_dequeue(struct msgbuf *, struct ibuf *);