Explorar o código

remove compiling warning

Bernard Xiong %!s(int64=11) %!d(string=hai) anos
pai
achega
05b9eb0b82
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      components/pthreads/mqueue.c
  2. 1 0
      components/pthreads/semaphore.c

+ 1 - 0
components/pthreads/mqueue.c

@@ -21,6 +21,7 @@
  * Date           Author       Notes
  */
 
+#include <string.h>
 #include "mqueue.h"
 #include "pthread_internal.h"
 

+ 1 - 0
components/pthreads/semaphore.c

@@ -23,6 +23,7 @@
  */
 
 #include <rtthread.h>
+#include <string.h>
 #include "semaphore.h"
 #include "pthread_internal.h"