瀏覽代碼

[component][ulog] Fix a compile error when timestamp is enable.

armink 6 年之前
父節點
當前提交
f28b9d83f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/utilities/ulog/ulog.c

+ 1 - 1
components/utilities/ulog/ulog.c

@@ -21,7 +21,7 @@
 #endif
 
 #ifdef ULOG_TIME_USING_TIMESTAMP
-#include <time.h>
+#include <sys/time.h>
 #endif
 
 #ifdef ULOG_USING_ASYNC_OUTPUT