diff options
| author | [email protected] <[email protected]> | 2012-07-06 11:19:52 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-07-06 11:19:52 +0000 |
| commit | 08f329d5f79c69d226d221b4136d419a93add600 (patch) | |
| tree | 224e92f575972fb396bf560893a9d2b21c06e08d /components/pthreads | |
| parent | c1ad7c8f69303d7eda14bad2dd1851e8b323e368 (diff) | |
POSIX thread can be compiled with minilibc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2204 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/pthreads')
| -rw-r--r-- | components/pthreads/posix_types.h | 4 |
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
|
