summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"