Define SCHED_ISO if not defined

This commit is contained in:
Marc Di Luzio
2019-01-28 18:25:19 +00:00
parent 206700919c
commit 82efafd54d

View File

@ -41,6 +41,13 @@ POSSIBILITY OF SUCH DAMAGE.
#include <sys/resource.h>
#include <sys/sysinfo.h>
/* SCHED_ISO may not be defined as it is a reserved value not yet
* implemented in official kernel sources, see linux/sched.h.
*/
#ifndef SCHED_ISO
#define SCHED_ISO 4
#endif
/**
* Priority to renice the process to.
*/