未验证 提交 c71828fb 编写于 作者: D Dahua1992 提交者: GitHub

add #include <sys/time.h>

原因 tm = gmtime_r(&now, &tm_tmp);报错
上级 302d00ec
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
*/ */
#ifdef ULOG_USING_SYSLOG #ifdef ULOG_USING_SYSLOG
#include <sys/time.h>
#ifndef ULOG_SYSLOG_IDENT_MAX_LEN #ifndef ULOG_SYSLOG_IDENT_MAX_LEN
#define ULOG_SYSLOG_IDENT_MAX_LEN ULOG_FILTER_TAG_MAX_LEN #define ULOG_SYSLOG_IDENT_MAX_LEN ULOG_FILTER_TAG_MAX_LEN
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册