summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/pthreads/posix_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/pthreads/posix_types.h b/components/pthreads/posix_types.h
index 3d2ab1d335..9e7b6362d4 100644
--- a/components/pthreads/posix_types.h
+++ b/components/pthreads/posix_types.h
@@ -190,6 +190,10 @@ typedef rt_uint16_t mode_t;
#endif
#elif defined (__GNUC__) /* GNU GCC Compiler, with minilibc */
+#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
#endif
#endif