Skip to content

Commit f28b9d8

Browse files
committed
[component][ulog] Fix a compile error when timestamp is enable.
1 parent acfe61b commit f28b9d8

File tree

1 file changed

+1
-1
lines changed
  • components/utilities/ulog

1 file changed

+1
-1
lines changed

components/utilities/ulog/ulog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#endif
2222

2323
#ifdef ULOG_TIME_USING_TIMESTAMP
24-
#include <time.h>
24+
#include <sys/time.h>
2525
#endif
2626

2727
#ifdef ULOG_USING_ASYNC_OUTPUT

0 commit comments

Comments
 (0)