瀏覽代碼

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"