Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.8.2][CentOS 7] Missing
#include <linux/sched.h>
The newly introduced `src/libcrun/scheduler.c` by containers#1166 missing `#include <linux/sched.h>` for CentOS 7, which result with missing `SCHED_DEADLINE`. Moreover, for CentOS 7 build we also need to enable `-std=c99`, or upgrade build tools to gcc 11 with `. /opt/rh/devtoolset-11/enable` before build. See https://stackoverflow.com/a/50085457 See https://github.com/alvistack/containers-crun/blob/alvistack/1.8.2/crun.spec Signed-off-by: Wong Hoi Sing Edison <[email protected]>
- Loading branch information