fixup pthread_t

This commit is contained in:
Bananymous 2025-04-02 12:48:30 +03:00
parent 587095e04e
commit 8a7b8e21ec
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,10 @@ __BEGIN_DECLS
#endif #endif
#undef __need_off_t #undef __need_off_t
#ifdef __need_pthread_t
#define __need_pid_t
#endif
#if !defined(__pid_t_defined) && (defined(__need_all_types) || defined(__need_pid_t)) #if !defined(__pid_t_defined) && (defined(__need_all_types) || defined(__need_pid_t))
#define __pid_t_defined 1 #define __pid_t_defined 1
typedef int pid_t; typedef int pid_t;