添加time.h头文件
@@ -22,6 +22,7 @@
*/
#include <stdlib.h>
#include <string.h>
+#include <sys/time.h>
#include <cJSON_util.h>
#include <webclient.h>