mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
Define SCHED_ISO if not defined
This commit is contained in:
@ -41,6 +41,13 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#include <sys/sysinfo.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.
|
* Priority to renice the process to.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user