From 436f3b357ee6a960621c319b7904aeed1cccead4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 30 Dec 2010 20:41:08 +0000 Subject: epoll on Linux is broken with /dev/null so it needs to be disabled. Instead of adding another BROKEN_* define, move event_init into osdep-*.c. --- osdep-unknown.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'osdep-unknown.c') diff --git a/osdep-unknown.c b/osdep-unknown.c index d59a3b53..cf3cb6ad 100644 --- a/osdep-unknown.c +++ b/osdep-unknown.c @@ -1,4 +1,4 @@ -/* $Id: osdep-unknown.c,v 1.5 2009-04-29 23:07:35 nicm Exp $ */ +/* $Id: osdep-unknown.c,v 1.6 2010-12-30 20:41:08 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -18,6 +18,8 @@ #include +#include + #include "tmux.h" char * @@ -25,3 +27,9 @@ osdep_get_name(unused int fd, unused char *tty) { return (NULL); } + +struct event_base * +osdep_event_init(void) +{ + return (event_init()); +} -- cgit