summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-14 21:13:48 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-14 21:13:48 +0000
commitb402cef338e863ffe503f2fcdce3fb44d879efbf (patch)
tree89c100de2c965e93a9c2ed17a8a91e13bb6a5c07 /compat
parenta9b6bfdddd570753e52dca73169f70864502c38c (diff)
Adjust imsg changes to the portable version due to OpenBSD patchset 243.
Diffstat (limited to 'compat')
-rw-r--r--compat/imsg-buffer.c2
-rw-r--r--compat/imsg.c2
-rw-r--r--compat/imsg.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/compat/imsg-buffer.c b/compat/imsg-buffer.c
index ef380ab6..c20f63f8 100644
--- a/compat/imsg-buffer.c
+++ b/compat/imsg-buffer.c
@@ -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 *);
diff --git a/compat/imsg.c b/compat/imsg.c
index 4ba37f42..a74c0694 100644
--- a/compat/imsg.c
+++ b/compat/imsg.c
@@ -26,7 +26,7 @@
#include <string.h>
#include <unistd.h>
-#include "imsg.h"
+#include "tmux.h"
int imsg_get_fd(struct imsgbuf *);
diff --git a/compat/imsg.h b/compat/imsg.h
index 329904a1..4318463b 100644
--- a/compat/imsg.h
+++ b/compat/imsg.h
@@ -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)