fix compilation on freebsd

git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@292 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
This commit is contained in:
mheily 2010-08-08 00:23:19 +00:00
parent 71bd6f3fa9
commit 50ee6f2187

View File

@ -75,6 +75,15 @@ post_configure_hook() {
sources="$sources src/posix/eventfd.c"
fi
# FIXME: This will compile but not actually work
if [ $target = "freebsd" ] ; then
evfilt_signal="src/posix/signal.c"
evfilt_proc=""
evfilt_socket=""
evfilt_timer=""
evfilt_vnode=""
fi
sources="$sources src/posix/kevent.c $evfilt_signal $evfilt_proc
$evfilt_socket $evfilt_timer $evfilt_user $evfilt_vnode"
}