Merge pull request #1972 from Dahua1992/master

修复syslog.c缺少#include <sys/time.h>
This commit is contained in:
Bernard Xiong 2018-11-13 11:59:20 +08:00 committed by GitHub
commit ea17191127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@
#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