diff options
Diffstat (limited to 'miscutils/time.c')
-rw-r--r-- | miscutils/time.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index 0006c59d8..c4bcbcbc9 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -33,6 +33,13 @@ | |||
33 | 33 | ||
34 | #include "libbb.h" | 34 | #include "libbb.h" |
35 | 35 | ||
36 | #ifndef HAVE_WAIT3 | ||
37 | static pid_t wait3(int *status, int options, struct rusage *rusage) | ||
38 | { | ||
39 | return wait4(-1, status, options, rusage); | ||
40 | } | ||
41 | #endif | ||
42 | |||
36 | /* Information on the resources used by a child process. */ | 43 | /* Information on the resources used by a child process. */ |
37 | typedef struct { | 44 | typedef struct { |
38 | int waitstatus; | 45 | int waitstatus; |