Explorar o código

消除编译警告

Ryan-CW %!s(int64=3) %!d(string=hai) anos
pai
achega
16d8060d9f
Modificáronse 2 ficheiros con 3 adicións e 0 borrados
  1. 2 0
      README.md
  2. 1 0
      example/RyanMqtt.c

+ 2 - 0
README.md

@@ -1,5 +1,7 @@
 # RyanMqtt
 
+**使用遇到问题可以提issue / RT-Thread社区提问,谢谢。**
+
 ### 1、介绍
 
 RyanMqtt 实现了 MQTT3.1.1 协议的客户端。此库针对资源受限的嵌入式设备进行了优化。

+ 1 - 0
example/RyanMqtt.c

@@ -15,6 +15,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <string.h>
+#include <stdlib.h>
 #include <board.h>
 
 #include <rtthread.h>