瀏覽代碼

POSIX thread can be compiled with minilibc.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2204 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 13 年之前
父節點
當前提交
08f329d5f7
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      components/pthreads/posix_types.h

+ 4 - 0
components/pthreads/posix_types.h

@@ -190,6 +190,10 @@ typedef rt_uint16_t mode_t;
 #endif
 #endif
 
 
 #elif defined (__GNUC__)        			/* GNU GCC Compiler, with minilibc */
 #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
 
 
 #endif
 #endif