Browse Source

remove compiling warning

Bernard Xiong 11 years ago
parent
commit
05b9eb0b82
2 changed files with 2 additions and 0 deletions
  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
  * Date           Author       Notes
  */
  */
 
 
+#include <string.h>
 #include "mqueue.h"
 #include "mqueue.h"
 #include "pthread_internal.h"
 #include "pthread_internal.h"
 
 

+ 1 - 0
components/pthreads/semaphore.c

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