Jelajahi Sumber

Merge pull request #14 from chenyong111/master

【修复】适配网络框架,添加有关时间操作头文件支持。
朱天龙 (Armink) 7 tahun lalu
induk
melakukan
4d402c2ec6
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      ntp/ntp.c

+ 1 - 0
ntp/ntp.c

@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/select.h>