diff options
author | 2009-11-12 05:44:29 +0000 | |
---|---|---|
committer | 2009-11-12 05:44:29 +0000 | |
commit | 9ac64a88d1af10866589c0169ae48cce1e7e392c (patch) | |
tree | 0185ce9b6e6646a34ff10a59932e4c19c552245a /lib/libevent | |
parent | a sprinkle of knf (diff) | |
download | wireguard-openbsd-9ac64a88d1af10866589c0169ae48cce1e7e392c.tar.xz wireguard-openbsd-9ac64a88d1af10866589c0169ae48cce1e7e392c.zip |
change back to preferring kqueue, now that nicm, tedu and i have
fixed it (or, all the issues we are aware of so far).
discussed with nicm
Diffstat (limited to 'lib/libevent')
-rw-r--r-- | lib/libevent/event.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libevent/event.c b/lib/libevent/event.c index 2923379dc2f..33b8f2f29b3 100644 --- a/lib/libevent/event.c +++ b/lib/libevent/event.c @@ -1,4 +1,4 @@ -/* $OpenBSD: event.c,v 1.20 2009/10/30 13:51:29 deraadt Exp $ */ +/* $OpenBSD: event.c,v 1.21 2009/11/12 05:44:29 deraadt Exp $ */ /* * Copyright (c) 2000-2004 Niels Provos <provos@citi.umich.edu> @@ -89,6 +89,9 @@ const struct eventop *eventops[] = { #ifdef HAVE_EVENT_PORTS &evportops, #endif +#ifdef HAVE_WORKING_KQUEUE + &kqops, +#endif #ifdef HAVE_EPOLL &epollops, #endif @@ -104,9 +107,6 @@ const struct eventop *eventops[] = { #ifdef HAVE_SELECT &selectops, #endif -#ifdef HAVE_WORKING_KQUEUE - &kqops, -#endif #ifdef WIN32 &win32ops, #endif |