diff --git a/src/kservice.c b/src/kservice.c index 34a3e8032e..76d6f099b0 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -25,12 +25,9 @@ */ /*@{*/ -#ifndef RT_USING_NEWLIB /* global errno in RT-Thread */ static volatile int _errno; -#else -#include -#endif + #if defined(RT_USING_DEVICE) && defined(RT_USING_CONSOLE) static rt_device_t _console_device = RT_NULL; #endif