Преглед изворни кода

[fix] when use the branch of RT-Thead that version more than v4.0.3, the "mbedtls" can't compile successful.

liuxianliang пре 4 година
родитељ
комит
39d978f161
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      ports/src/tls_net.c

+ 2 - 1
ports/src/tls_net.c

@@ -20,7 +20,8 @@
  */
 #include <rtthread.h>
 #include <sys/time.h>
-
+#include <dfs_select.h>
+#include <sys/ioctl.h>
 #if !defined(MBEDTLS_CONFIG_FILE)
 #include "mbedtls/config.h"
 #else