diff options
Diffstat (limited to 'sys/include/sys/time.h')
-rw-r--r-- | sys/include/sys/time.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/include/sys/time.h b/sys/include/sys/time.h index fb98b9d..8563fc7 100644 --- a/sys/include/sys/time.h +++ b/sys/include/sys/time.h @@ -31,6 +31,9 @@ #define _SYS_TIME_H_ #include <sys/types.h> +#if defined(_KERNEL) +#include <sys/syscall.h> +#endif /* _KERNEL */ struct timeval { time_t tv_sec; @@ -48,4 +51,7 @@ struct date { uint8_t hour; }; +#if defined(_KERNEL) +scret_t sys_sleep(struct syscall_args *scargs); +#endif #endif /* !_SYS_TIME_H_ */ |