summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorbernard <[email protected]>2013-08-19 12:47:40 +0800
committerbernard <[email protected]>2013-08-19 12:47:40 +0800
commitd8695085dcf24bfd56ee5045825cd36755e5979c (patch)
tree15f289457c8caa21e8b72ca409f514ad537e2c24 /components
parentfa934fa7bd3a4843e73b905003e5143bda8b43d4 (diff)
parentcb880fd7635c6570e9a076d2bff001cf62817f33 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components')
-rw-r--r--components/pthreads/mqueue.c1
-rw-r--r--components/pthreads/semaphore.c1
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"