diff options
| author | Bernard Xiong <[email protected]> | 2013-08-12 07:21:29 -0700 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2013-08-12 07:21:29 -0700 |
| commit | 05b9eb0b826b49bed40cb9f39da2691a7b46a4a2 (patch) | |
| tree | 3e7383bd148115df5e7e79110982f0be49306a0c /components | |
| parent | e301d14979518a35035186298dd5e28df13f4420 (diff) | |
remove compiling warning
Diffstat (limited to 'components')
| -rw-r--r-- | components/pthreads/mqueue.c | 1 | ||||
| -rw-r--r-- | components/pthreads/semaphore.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/components/pthreads/mqueue.c b/components/pthreads/mqueue.c index 8886988a1f..7b669dc367 100644 --- a/components/pthreads/mqueue.c +++ b/components/pthreads/mqueue.c @@ -21,6 +21,7 @@ * Date Author Notes */ +#include <string.h> #include "mqueue.h" #include "pthread_internal.h" diff --git a/components/pthreads/semaphore.c b/components/pthreads/semaphore.c index a1bf42e899..ae69e0d1bc 100644 --- a/components/pthreads/semaphore.c +++ b/components/pthreads/semaphore.c @@ -23,6 +23,7 @@ */ #include <rtthread.h> +#include <string.h> #include "semaphore.h" #include "pthread_internal.h" |
