소스 검색

remove compiling warning

Bernard Xiong 11 년 전
부모
커밋
05b9eb0b82
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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"