summaryrefslogtreecommitdiff
path: root/miscutils/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/time.c')
-rw-r--r--miscutils/time.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/miscutils/time.c b/miscutils/time.c
index 0006c59..c4bcbcb 100644
--- a/miscutils/time.c
+++ b/miscutils/time.c
@@ -33,6 +33,13 @@
#include "libbb.h"
+#ifndef HAVE_WAIT3
+static pid_t wait3(int *status, int options, struct rusage *rusage)
+{
+ return wait4(-1, status, options, rusage);
+}
+#endif
+
/* Information on the resources used by a child process. */
typedef struct {
int waitstatus;