--- libaitsched/src/tasks.c 2012/08/02 12:19:29 1.10.2.8 +++ libaitsched/src/tasks.c 2012/08/02 12:32:07 1.10.2.9 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: tasks.c,v 1.10.2.8 2012/08/02 12:19:29 misho Exp $ +* $Id: tasks.c,v 1.10.2.9 2012/08/02 12:32:07 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -482,7 +482,7 @@ schedAlarm(sched_root_task_t * __restrict root, sched_ return task; } -#ifdef EVFILT_AIO +#if defined(EVFILT_AIO) && defined(SIGEV_KEVENT) /* * schedAIO() - Add AIO task to scheduler queue *