--- libaitsched/src/aitsched.c 2013/08/15 17:58:31 1.18.6.1 +++ libaitsched/src/aitsched.c 2013/08/15 19:10:48 1.19 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsched.c,v 1.18.6.1 2013/08/15 17:58:31 misho Exp $ +* $Id: aitsched.c,v 1.19 2013/08/15 19:10:48 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -102,7 +102,9 @@ schedRegisterHooks(sched_root_task_t * __restrict root root->root_hooks.hook_add.read = sched_hook_read; root->root_hooks.hook_add.write = sched_hook_write; root->root_hooks.hook_add.alarm = sched_hook_alarm; +#if defined(HAVE_TIMER_CREATE) && defined(HAVE_TIMER_SETTIME) root->root_hooks.hook_add.rtc = sched_hook_rtc; +#endif root->root_hooks.hook_add.node = sched_hook_node; root->root_hooks.hook_add.proc = sched_hook_proc; root->root_hooks.hook_add.signal = sched_hook_signal;