@ -117,7 +118,7 @@ static inline int mingw_unlink(const char *pathname)
@@ -117,7 +118,7 @@ static inline int mingw_unlink(const char *pathname)
}
#define unlink mingw_unlink
static inline int waitpid(pid_t pid, int *status, unsigned options)
static inline pid_t waitpid(pid_t pid, int *status, unsigned options)
{
if (options == 0)
return _cwait(status, pid, 0);
@ -158,7 +159,7 @@ int poll(struct pollfd *ufds, unsigned int nfds, int timeout);
@@ -158,7 +159,7 @@ int poll(struct pollfd *ufds, unsigned int nfds, int timeout);