Преглед на файлове

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
 
 #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