It is worth saying here that we previously forgot to add the declarations for
wait3() and wait4() stubs.
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
extern "C" {
#endif
+#include <sys/types.h>
+
#define UIO_MAXIOV 1024
struct iovec {
#define __NEWLIB_GLUE__SYS_WAIT_H__
#include_next <sys/wait.h>
+#include <sys/resource.h>
#define WCOREDUMP(w) (((w) & 0xff) == 0x80)
#define WIFCONTINUED(w) (WIFSIGNALED(w) && WEXITSTATUS(w) == 18)
+pid_t wait3(int *wstatus, int options, struct rusage *rusage);
+pid_t wait4(pid_t pid, int *wstatus, int options, struct rusage *rusage);
+
#endif
*/
#include <sys/resource.h>
+#include <uk/essentials.h>
int getrlimit(int resource __unused, struct rlimit *rlim __unused)
{