[fix][libc] use default pthread type when not define CONFIG_POSIX

This commit is contained in:
jzlv 2023-03-06 19:50:41 +08:00
parent 46b6b22b7f
commit 22a6782980

View file

@ -219,7 +219,9 @@ typedef __suseconds_t suseconds_t;
typedef __int64_t sbintime_t;
#include <sys/features.h>
// #include <sys/_pthreadtypes.h>
#ifndef CONFIG_POSIX
#include <sys/_pthreadtypes.h>
#endif
#include <machine/types.h>
#endif /* !__need_inttypes */