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