瀏覽代碼

need stdint.h on Windows, too

Grant Limberg 5 年之前
父節點
當前提交
423b0d891c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/zerotier.h

+ 2 - 1
core/zerotier.h

@@ -27,9 +27,10 @@
 #include <netinet/in.h>
 #include <netinet/in.h>
 #include <sys/types.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/socket.h>
+#endif
+
 #include <stdint.h>
 #include <stdint.h>
 #include <stdlib.h>
 #include <stdlib.h>
-#endif
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {