Include the kernel version of sched.h to resolve a missing
definition compiler warning on `struct clone_args`
Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Ioan-Teodor Teugea <ioan_teodor.teugea@stud.acs.upb.ro>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1248
#ifndef __PROCESS_H_INTERNAL__
#define __PROCESS_H_INTERNAL__
-#define _GNU_SOURCE /* struct clone_args */
-
#include <uk/config.h>
#include <sys/types.h>
#if CONFIG_LIBPOSIX_PROCESS_CLONE
-#include <sched.h>
+#include <linux/sched.h>
#include <uk/arch/ctx.h>
#endif /* CONFIG_LIBPOSIX_PROCESS_CLONE */