diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | ev.c | 2 | ||||
-rw-r--r-- | ev_kqueue.c | 1 | ||||
-rw-r--r-- | libev.m4 | 6 |
4 files changed, 4 insertions, 6 deletions
@@ -1,6 +1,7 @@ Revision history for libev, a high-performance and full-featured event loop. - applied win32 fixes by Michael Lenaghan. + - remove dependency on sys/queue.h on freebsd (patch by Vanilla Hsu). 3.9 Thu Dec 31 07:59:59 CET 2009 - signalfd is no longer used by default and has to be requested @@ -112,7 +112,7 @@ extern "C" { # endif # ifndef EV_USE_KQUEUE -# if HAVE_KQUEUE && HAVE_SYS_EVENT_H && HAVE_SYS_QUEUE_H +# if HAVE_KQUEUE && HAVE_SYS_EVENT_H # define EV_USE_KQUEUE 1 # else # define EV_USE_KQUEUE 0 diff --git a/ev_kqueue.c b/ev_kqueue.c index 0fe340b..53f2dc1 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -39,7 +39,6 @@ #include <sys/types.h> #include <sys/time.h> -#include <sys/queue.h> #include <sys/event.h> #include <string.h> #include <errno.h> @@ -2,9 +2,9 @@ dnl this file is part of libev, do not make local modifications dnl http://software.schmorp.de/pkg/libev dnl libev support -AC_CHECK_HEADERS(sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h) +AC_CHECK_HEADERS(sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h) -AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select eventfd) +AC_CHECK_FUNCS(inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd) AC_CHECK_FUNC(clock_gettime, [], [ dnl on linux, try syscall wrapper first @@ -36,5 +36,3 @@ AC_CHECK_FUNC(nanosleep, [], [ AC_CHECK_LIB(m, ceil) - - |