From e9f3a717384d5af1c84ae284d9e1025973f3dc88 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Jan 2010 12:44:33 +0000 Subject: *** empty log message *** --- Changes | 1 + ev.c | 2 +- ev_kqueue.c | 1 - libev.m4 | 6 ++---- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index c187382..7092133 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/ev.c b/ev.c index 64ad61e..16799ba 100644 --- a/ev.c +++ b/ev.c @@ -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 #include -#include #include #include #include diff --git a/libev.m4 b/libev.m4 index 2ba20eb..236f057 100644 --- a/libev.m4 +++ b/libev.m4 @@ -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) - - -- cgit v1.2.3