Skip to content

Commit ea17191

Browse files
authored
Merge pull request #1972 from Dahua1992/master
修复syslog.c缺少#include <sys/time.h>
2 parents f6783c6 + 0df270b commit ea17191

File tree

1 file changed

+2
-0
lines changed
  • components/utilities/ulog/syslog

1 file changed

+2
-0
lines changed

components/utilities/ulog/syslog/syslog.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
#ifdef ULOG_USING_SYSLOG
2828

29+
#include <sys/time.h>
30+
2931
#ifndef ULOG_SYSLOG_IDENT_MAX_LEN
3032
#define ULOG_SYSLOG_IDENT_MAX_LEN ULOG_FILTER_TAG_MAX_LEN
3133
#endif

0 commit comments

Comments
 (0)