From 90dd482061ab014a6137c2df2239cc6106974dbb Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 27 Dec 2020 16:32:08 +0900 Subject: win32: Declared wait and fixed the return type --- include/ruby/win32.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/ruby') diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 00259485a2..4978655e3c 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -304,7 +304,8 @@ extern int rb_w32_usymlink(const char *src, const char *link); extern int gettimeofday(struct timeval *, struct timezone *); extern int clock_gettime(clockid_t, struct timespec *); extern int clock_getres(clockid_t, struct timespec *); -extern rb_pid_t waitpid (rb_pid_t, int *, int); +extern rb_pid_t waitpid(rb_pid_t, int *, int); +extern rb_pid_t wait(int *); extern rb_pid_t rb_w32_uspawn(int, const char *, const char*); extern rb_pid_t rb_w32_uaspawn(int, const char *, char *const *); extern rb_pid_t rb_w32_uaspawn_flags(int, const char *, char *const *, DWORD); -- cgit v1.2.3