Răsfoiți Sursa

remove compiling warning

Bernard Xiong 11 ani în urmă
părinte
comite
05b9eb0b82
2 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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"