diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-30 20:41:08 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-30 20:41:08 +0000 |
commit | 436f3b357ee6a960621c319b7904aeed1cccead4 (patch) | |
tree | d5ef34bc8cc43d81c3582645b61724ca2200df47 /osdep-unknown.c | |
parent | ba89a048edeebb34f03a46b5ecc789655f7d223d (diff) | |
download | rtmux-436f3b357ee6a960621c319b7904aeed1cccead4.tar.gz rtmux-436f3b357ee6a960621c319b7904aeed1cccead4.tar.bz2 rtmux-436f3b357ee6a960621c319b7904aeed1cccead4.zip |
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.
Diffstat (limited to 'osdep-unknown.c')
-rw-r--r-- | osdep-unknown.c | 10 |
1 files changed, 9 insertions, 1 deletions
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 <nicm@users.sourceforge.net> @@ -18,6 +18,8 @@ #include <sys/types.h> +#include <event.h> + #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()); +} |