From 0f08b401f107732d6c88486a739f26ce04578c34 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Fri, 29 May 2015 15:33:23 +0100 Subject: mingw: fixes to implementation of waitpid(2) The third argument should be int. We only support positive pid values. --- include/mingw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mingw.h') diff --git a/include/mingw.h b/include/mingw.h index 7224ba50a..a32d78ad0 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -340,7 +340,7 @@ int setitimer(int type, struct itimerval *in, struct itimerval *out); */ #define WNOHANG 1 #define WUNTRACED 2 -int waitpid(pid_t pid, int *status, unsigned options); +int waitpid(pid_t pid, int *status, int options); /* * time.h -- cgit v1.2.3-55-g6feb