diff options
Diffstat (limited to 'lib/libss/help.c')
-rw-r--r-- | lib/libss/help.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libss/help.c b/lib/libss/help.c index 376d2ea..0a8edd2 100644 --- a/lib/libss/help.c +++ b/lib/libss/help.c @@ -74,7 +74,12 @@ got_it: ss_page_stdin(); default: (void) close(fd); /* what can we do if it fails? */ - while (wait((union wait *)NULL) != child) { +#ifndef POSIX + while (wait((union wait *)NULL) != child) +#else + while (wait((int *)NULL) != child) +#endif + { /* do nothing if wrong pid */ }; } |