summaryrefslogtreecommitdiff
path: root/examples/kernel
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-11-23 22:38:00 -0500
committerMeco Man <[email protected]>2021-11-23 22:38:00 -0500
commita1cc3d43e71819b3f12c3673187b6316d083ef6c (patch)
treefe100bed622711f6cb5251b540d2228d01cf68f4 /examples/kernel
parent7dabc3844cfcc00f11f13da86a8d875c79531700 (diff)
modify time.h to sys/time.h
Diffstat (limited to 'examples/kernel')
-rw-r--r--examples/kernel/event_simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/kernel/event_simple.c b/examples/kernel/event_simple.c
index 8b2f966d3d..78887b6aea 100644
--- a/examples/kernel/event_simple.c
+++ b/examples/kernel/event_simple.c
@@ -15,7 +15,7 @@
* 一个线程定时发送事件 (事件5)
*/
#include <rtthread.h>
-#include <time.h>
+#include <sys/time.h>
#include "tc_comm.h"
/* 指向线程控制块的指针 */