Explorar o código

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

armink %!s(int64=7) %!d(string=hai) anos
pai
achega
f28b9d83f7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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