Skip to content
Permalink
Browse files

libc: minimal: Define time_t and suseconds_t

According to POSIX, these types should be defined by sys/types.h.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
  • Loading branch information...
pfalcon authored and nashif committed Apr 23, 2019
1 parent d7ee114 commit d79d3eb7254714a084e090de98f502651eaafd25
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/libc/minimal/include/sys/types.h
@@ -40,4 +40,7 @@ typedef int off_t;

#endif

typedef long long time_t;
typedef long suseconds_t;

#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_TYPES_H_ */

0 comments on commit d79d3eb

Please sign in to comment.
You can’t perform that action at this time.