summaryrefslogtreecommitdiff
path: root/lib/libevent/event.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-12 05:44:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-12 05:44:30 +0000
commit31ba389aafb55266aeecd6e3351eea252dbeddae (patch)
tree513182887a149a4820131407386b4f1d93f97362 /lib/libevent/event.c
parenta1df229f8eb599c4676b33ce1bec6096908e1b75 (diff)
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/event.c')
-rw-r--r--lib/libevent/event.c8
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