X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Ftimer.c;h=0e756dbb6cb01c435062380cbd60536d0e165520;hb=e5523f6098d2f4d51c838459ce83423152cc8692;hp=a71352676ba789cd7e07696e1985c34c19e4b619;hpb=efbdba7e2814415234ef47bd10ff888559ea90af;p=bertos.git diff --git a/drv/timer.c b/drv/timer.c index a7135267..0e756dbb 100644 --- a/drv/timer.c +++ b/drv/timer.c @@ -74,6 +74,9 @@ #if CONFIG_KERNEL #include + #if CONFIG_KERN_PREEMPTIVE + #include + #endif #if CONFIG_KERN_SIGNALS #include /* sig_wait(), sig_check() */ #include /* proc_current() */