add #include <sys/time.h>

原因 tm = gmtime_r(&now, &tm_tmp);报错
This commit is contained in:
Dahua1992
2018-11-13 10:22:53 +08:00
committed by GitHub
parent 302d00ec76
commit c71828fb33
+1 -1
View File
@@ -25,7 +25,7 @@
*/
#ifdef ULOG_USING_SYSLOG
#include <sys/time.h>
#ifndef ULOG_SYSLOG_IDENT_MAX_LEN
#define ULOG_SYSLOG_IDENT_MAX_LEN ULOG_FILTER_TAG_MAX_LEN
#endif