Bladeren bron

【修复】适配网络框架,添加有关时间操作头文件支持。

chenyong 7 jaren geleden
bovenliggende
commit
dfd5679f51
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      ntp/ntp.c

+ 1 - 0
ntp/ntp.c

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