Adjust imsg changes to the portable version due to OpenBSD patchset 243.

This commit is contained in:
Tiago Cunha
2009-08-14 21:13:48 +00:00
parent a9b6bfdddd
commit b402cef338
6 changed files with 32 additions and 14 deletions

View File

@ -26,7 +26,7 @@
#include <string.h>
#include <unistd.h>
#include "imsg.h"
#include "tmux.h"
int buf_realloc(struct buf *, size_t);
void buf_enqueue(struct msgbuf *, struct buf *);

View File

@ -26,7 +26,7 @@
#include <string.h>
#include <unistd.h>
#include "imsg.h"
#include "tmux.h"
int imsg_get_fd(struct imsgbuf *);

View File

@ -18,7 +18,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/tree.h>
#include "tmux.h"
#define READ_BUF_SIZE 65535
#define IMSG_HEADER_SIZE sizeof(struct imsg_hdr)